summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Libraries/LibJS/Parser.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Libraries/LibJS/Parser.cpp b/Libraries/LibJS/Parser.cpp
index 64a9763d38..eea7b0ef92 100644
--- a/Libraries/LibJS/Parser.cpp
+++ b/Libraries/LibJS/Parser.cpp
@@ -425,9 +425,6 @@ NonnullOwnPtr<ForStatement> Parser::parse_for_statement()
OwnPtr<Statement> init = nullptr;
switch (m_current_token.type()) {
- case TokenType::Var:
- init = parse_variable_declaration();
- break;
case TokenType::Semicolon:
break;
default: