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
commit 527c639c1f
Notes: sideshowbarker 2024-07-18 11:29:07 +09:00

View file

@ -1667,7 +1667,7 @@ NonnullRefPtr<VariableDeclaration> Parser::parse_variable_declaration(bool for_l
}
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)) {
consume();
continue;