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