mirror of
https://github.com/tc39/test262.git
synced 2025-09-25 11:08:49 +02:00
Enable strict mode testing for sm/literals
This commit is contained in:
parent
27b61f051b
commit
221ea2b0b7
@ -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]"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user