summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-11.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-11.js')
-rw-r--r--test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-11.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-11.js b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-11.js
index f0838068e..dae527da9 100644
--- a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-11.js
+++ b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-3-11.js
@@ -9,7 +9,11 @@ description: >
containing positive number
---*/
- var obj = {1: true, 2: false, length: "2"};
+var obj = {
+ 1: true,
+ 2: false,
+ length: "2"
+};
assert.sameValue(Array.prototype.lastIndexOf.call(obj, true), 1, 'Array.prototype.lastIndexOf.call(obj, true)');
assert.sameValue(Array.prototype.lastIndexOf.call(obj, false), -1, 'Array.prototype.lastIndexOf.call(obj, false)');