diff options
Diffstat (limited to 'test/built-ins/Array/prototype/flatMap/non-callable-argument-throws.js')
-rw-r--r-- | test/built-ins/Array/prototype/flatMap/non-callable-argument-throws.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/Array/prototype/flatMap/non-callable-argument-throws.js b/test/built-ins/Array/prototype/flatMap/non-callable-argument-throws.js index 6d47d0233..ab0f8ca86 100644 --- a/test/built-ins/Array/prototype/flatMap/non-callable-argument-throws.js +++ b/test/built-ins/Array/prototype/flatMap/non-callable-argument-throws.js @@ -7,6 +7,6 @@ description: > features: [Array.prototype.flatMap] ---*/ -assert.throws(TypeError, function () { +assert.throws(TypeError, function() { [].flatMap({}); }, 'non callable argument'); |