1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

LibJS: Fix spelling mistake in one of the syntax error descriptions

This commit is contained in:
Andreas Kling 2021-06-26 16:25:11 +02:00
parent f3197faf39
commit 527c639c1f

View file

@ -1667,7 +1667,7 @@ NonnullRefPtr<VariableDeclaration> Parser::parse_variable_declaration(bool for_l
} }
if (target.has<Empty>()) { if (target.has<Empty>()) {
syntax_error("Expected an identifer or a binding pattern"); syntax_error("Expected an identifier or a binding pattern");
if (match(TokenType::Comma)) { if (match(TokenType::Comma)) {
consume(); consume();
continue; continue;