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:
parent
f3197faf39
commit
527c639c1f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue