summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-06-26 16:25:11 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-26 16:25:11 +0200
commit527c639c1f60ed562bb274de3714d72ec74e5c9d (patch)
tree1ec0923810c918d724e9da728634fb1154485d01 /Userland/Libraries
parentf3197faf393a1971db3bf62bc04db19d8b98f922 (diff)
downloadserenity-527c639c1f60ed562bb274de3714d72ec74e5c9d.zip
LibJS: Fix spelling mistake in one of the syntax error descriptions
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibJS/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Parser.cpp b/Userland/Libraries/LibJS/Parser.cpp
index 50b1e1cc80..d0b0ba7ac0 100644
--- a/Userland/Libraries/LibJS/Parser.cpp
+++ b/Userland/Libraries/LibJS/Parser.cpp
@@ -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;