summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-7.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-7.js')
-rw-r--r--test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-7.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-7.js b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-7.js
index ff7fbc0d2..8f9129849 100644
--- a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-7.js
+++ b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-7.js
@@ -9,7 +9,11 @@ description: >
is a negative number)
---*/
- var obj = { 4: -Infinity, 5: Infinity, length: 5 - Math.pow(2, 32) };
+var obj = {
+ 4: -Infinity,
+ 5: Infinity,
+ length: 5 - Math.pow(2, 32)
+};
assert.sameValue(Array.prototype.lastIndexOf.call(obj, -Infinity), -1, 'Array.prototype.lastIndexOf.call(obj, -Infinity)');
assert.sameValue(Array.prototype.lastIndexOf.call(obj, Infinity), -1, 'Array.prototype.lastIndexOf.call(obj, Infinity)');