diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Array/prototype/findLast/not-a-constructor.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Array/prototype/findLast/not-a-constructor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tests/test262/built-ins/Array/prototype/findLast/not-a-constructor.js b/js/src/tests/test262/built-ins/Array/prototype/findLast/not-a-constructor.js index 9b2316f054..7bb9592536 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/findLast/not-a-constructor.js +++ b/js/src/tests/test262/built-ins/Array/prototype/findLast/not-a-constructor.js @@ -25,7 +25,7 @@ assert.sameValue(isConstructor(Array.prototype.findLast), false, 'isConstructor( assert.throws(TypeError, () => { new Array.prototype.findLast(() => {}); -}, '`new Array.prototype.findLast(() => {})` throws TypeError'); +}); reportCompare(0, 0); |