From 33b6c31331db2b97f67a17710cfb6a325a8ec98b Mon Sep 17 00:00:00 2001
From: Michael Ficarra <mficarra@shapesecurity.com>
Date: Fri, 5 Jan 2018 11:46:48 -0800
Subject: [PATCH] use `onlyStrict` flag instead of `"use strict"` directive

---
 test/built-ins/Array/prototype/flatMap/thisArg-argument.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/built-ins/Array/prototype/flatMap/thisArg-argument.js b/test/built-ins/Array/prototype/flatMap/thisArg-argument.js
index a2217e6fb8..f53821614e 100644
--- a/test/built-ins/Array/prototype/flatMap/thisArg-argument.js
+++ b/test/built-ins/Array/prototype/flatMap/thisArg-argument.js
@@ -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"]));
-- 
GitLab