On 6/11/21 7:46 PM, Paul Gofman wrote:
diff --git a/dlls/jscript/lex.c b/dlls/jscript/lex.c index efed1038a95..3dd609885e6 100644 --- a/dlls/jscript/lex.c +++ b/dlls/jscript/lex.c @@ -41,6 +41,7 @@ static const struct { {L"break", kBREAK, TRUE}, {L"case", kCASE}, {L"catch", kCATCH},
- {L"const", kCONST, FALSE},
Your tests show pre-ES5 versions treat it as a reserved keyword, but it seems to me that it's not actually supported there.
Thanks, Jacek