diff options
Diffstat (limited to 'test/built-ins/Array/prototype/splice/clamps-length-to-integer-limit.js')
-rw-r--r-- | test/built-ins/Array/prototype/splice/clamps-length-to-integer-limit.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Array/prototype/splice/clamps-length-to-integer-limit.js b/test/built-ins/Array/prototype/splice/clamps-length-to-integer-limit.js index 24584ba48..a376e42e7 100644 --- a/test/built-ins/Array/prototype/splice/clamps-length-to-integer-limit.js +++ b/test/built-ins/Array/prototype/splice/clamps-length-to-integer-limit.js @@ -19,18 +19,18 @@ info: | var arrayLike = {}; -arrayLike.length = 2 ** 53 - 1; +arrayLike.length = 2**53 - 1; Array.prototype.splice.call(arrayLike); -assert.sameValue(arrayLike.length, 2 ** 53 - 1, "Length is 2**53 - 1"); +assert.sameValue(arrayLike.length, 2**53 - 1, "Length is 2**53 - 1"); -arrayLike.length = 2 ** 53; +arrayLike.length = 2**53; Array.prototype.splice.call(arrayLike); -assert.sameValue(arrayLike.length, 2 ** 53 - 1, "Length is 2**53"); +assert.sameValue(arrayLike.length, 2**53 - 1, "Length is 2**53"); -arrayLike.length = 2 ** 53 + 2; +arrayLike.length = 2**53 + 2; Array.prototype.splice.call(arrayLike); -assert.sameValue(arrayLike.length, 2 ** 53 - 1, "Length is 2**53 + 2"); +assert.sameValue(arrayLike.length, 2**53 - 1, "Length is 2**53 + 2"); arrayLike.length = Infinity; Array.prototype.splice.call(arrayLike); -assert.sameValue(arrayLike.length, 2 ** 53 - 1, "Length is Infinity"); +assert.sameValue(arrayLike.length, 2**53 - 1, "Length is Infinity"); |