3 ms·
It is a SyntaxError to use the identifier ‘eval’. SyntaxError? "use strong"; should probably do something like: let eval = void 0; rather than making eval
by thomasfoster96 12y ago
It is a SyntaxError to use the identifier ‘eval’.
SyntaxError? "use strong"; should probably do something like:
let eval = void 0;
rather than making eval a SyntaxError.
- pavpanchekha 12y agoMaking it a syntax error means code will not fail quietly. This should help transition code to Strong mode.
- thomasfoster96 12y agoWouldn't a `ReferenceError` make more sense?