Enable strict mode testing for sm/literals

This commit is contained in:
André Bargull 2025-04-30 14:16:32 +02:00 committed by Philip Chimento
parent 27b61f051b
commit 221ea2b0b7

View File

@ -4,14 +4,10 @@
*/
/*---
flags:
- noStrict
description: |
pending
numeric literal followed by an identifier
esid: pending
---*/
var BUGNUMBER = '523401';
var summary = 'numeric literal followed by an identifier';
var array = new Array();
assert.throws(SyntaxError, () => eval("array[0for]"));