mirror of
https://github.com/tc39/test262.git
synced 2025-09-26 03:28:50 +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: |
|
description: |
|
||||||
pending
|
numeric literal followed by an identifier
|
||||||
esid: pending
|
esid: pending
|
||||||
---*/
|
---*/
|
||||||
var BUGNUMBER = '523401';
|
|
||||||
var summary = 'numeric literal followed by an identifier';
|
|
||||||
|
|
||||||
var array = new Array();
|
var array = new Array();
|
||||||
assert.throws(SyntaxError, () => eval("array[0for]"));
|
assert.throws(SyntaxError, () => eval("array[0for]"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user