mirror of https://github.com/tc39/test262.git
use `onlyStrict` flag instead of `"use strict"` directive
This commit is contained in:
parent
02ceb62400
commit
33b6c31331
|
@ -6,10 +6,9 @@ description: >
|
|||
Behavior when thisArg is provided
|
||||
Array.prototype.flatMap ( mapperFunction [ , thisArg ] )
|
||||
includes: [compareArray.js]
|
||||
flags: [onlyStrict]
|
||||
---*/
|
||||
|
||||
"use strict";
|
||||
|
||||
var a = {};
|
||||
|
||||
assert(compareArray([1].flatMap(function() { return [this]; }, "TestString"), ["TestString"]));
|
||||
|
|
Loading…
Reference in New Issue