Skip to content
Snippets Groups Projects
Commit 33b6c313 authored by Michael Ficarra's avatar Michael Ficarra Committed by Rick Waldron
Browse files

use `onlyStrict` flag instead of `"use strict"` directive

parent 02ceb624
No related branches found
No related tags found
No related merge requests found
...@@ -6,10 +6,9 @@ description: > ...@@ -6,10 +6,9 @@ description: >
Behavior when thisArg is provided Behavior when thisArg is provided
Array.prototype.flatMap ( mapperFunction [ , thisArg ] ) Array.prototype.flatMap ( mapperFunction [ , thisArg ] )
includes: [compareArray.js] includes: [compareArray.js]
flags: [onlyStrict]
---*/ ---*/
"use strict";
var a = {}; var a = {};
assert(compareArray([1].flatMap(function() { return [this]; }, "TestString"), ["TestString"])); assert(compareArray([1].flatMap(function() { return [this]; }, "TestString"), ["TestString"]));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment