diff --git a/lib/parse.js b/lib/parse.js index 982d9d48..60710292 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -1194,10 +1194,10 @@ function parse($TEXT, options) { } function for_() { - var await = is("name", "await") && next(); + var await_token = is("name", "await") && next(); expect("("); var init = null; - if (await || !is("punc", ";")) { + if (await_token || !is("punc", ";")) { init = is("keyword", "const") ? (next(), const_(true)) : is("name", "let") && is_vardefs() @@ -1206,7 +1206,7 @@ function parse($TEXT, options) { ? (next(), var_(true)) : expression(true); var ctor; - if (await) { + if (await_token) { expect_token("name", "of"); ctor = AST_ForAwaitOf; } else if (is("operator", "in")) {