4 ms·
Did the JS corpus not contain any es6 syntax? The statement let x = {} doesn't even register as JS.
by wwwigham 10y ago
Did the JS corpus not contain any es6 syntax? The statement
let x = {}
doesn't even register as JS.
- pprogrammer 10y agoIt probably does not contain a lot of es6 syntax, and the let keyword probably occurs a lot more in other languages (Swift, Haskell, Lua). You could try to add more code to disambiguate it, for example adding a semicolon already displays it as second.