From 2d0ec82baa3b784e94a1bcff30b80a31e5338f24 Mon Sep 17 00:00:00 2001 From: "Luiz Paulo \"Bills" Date: Sat, 29 Sep 2018 23:23:42 -0300 Subject: [PATCH] add 'of' statement --- runtime/syntax/javascript.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/javascript.yaml b/runtime/syntax/javascript.yaml index b93fbaf3..9d00639e 100644 --- a/runtime/syntax/javascript.yaml +++ b/runtime/syntax/javascript.yaml @@ -17,7 +17,7 @@ rules: - symbol.brackets: "(\\[|\\])" - symbol.operator: "[-+/*=<>!~%?:&|]" - statement: "\\b(async|await|break|case|catch|const|continue|debugger|default|delete|do|else|export|finally)\\b" - - statement: "\\b(for|function|class|extends|get|if|import|from|in|instanceof|let|new|return|set)\\b" + - statement: "\\b(for|function|class|extends|get|if|import|from|in|of|instanceof|let|new|return|set)\\b" - statement: "\\b(super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b" # reserved but unassigned - error: "\\b(enum|implements|interface|package|private|protected|public)"