Skip to content

Commit

Permalink
#2584: add 'of' js keyword (#2587)
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbox authored May 19, 2024
1 parent 3dfc2ed commit 48005e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/js.c
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ static const char* const JsKeywords [] =
"finally", "for", "function", "if", "implements", "import", "in", "instanceof",
"interface", "let", "new", "null", "package", "private", "protected",
"public", "return", "super", "switch", "static", "this", "throw", "try",
"true", "typeof", "var", "void", "while", "with", "yield"
"true", "typeof", "var", "void", "while", "with", "yield", "of"
};

static inline bool isalnum_(char c) {return isalnum(c) || c == '_';}
Expand Down

0 comments on commit 48005e6

Please sign in to comment.