summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-15.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-15.js')
-rw-r--r--test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-15.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-15.js b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-15.js
index 281305e13..cb669fc01 100644
--- a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-15.js
+++ b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-15.js
@@ -9,7 +9,11 @@ description: >
containing an exponential number
---*/
- var obj = {229: 229, 230: 2.3E2, length: "2.3E2"};
+var obj = {
+ 229: 229,
+ 230: 2.3E2,
+ length: "2.3E2"
+};
assert.sameValue(Array.prototype.lastIndexOf.call(obj, 229), 229, 'Array.prototype.lastIndexOf.call(obj, 229)');
assert.sameValue(Array.prototype.lastIndexOf.call(obj, 2.3E2), -1, 'Array.prototype.lastIndexOf.call(obj, 2.3E2)');