summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-4-9.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-4-9.js')
-rw-r--r--test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-4-9.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-4-9.js b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-4-9.js
index 6ebf6b4eb..7f758adec 100644
--- a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-4-9.js
+++ b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-4-9.js
@@ -7,7 +7,11 @@ es5id: 15.4.4.15-4-9
description: Array.prototype.lastIndexOf - 'length' is a number of value 0.1
---*/
- var targetObj = [];
- var obj = { 0: targetObj, 100: targetObj, length: 0.1 };
+var targetObj = [];
+var obj = {
+ 0: targetObj,
+ 100: targetObj,
+ length: 0.1
+};
assert.sameValue(Array.prototype.lastIndexOf.call(obj, targetObj), -1, 'Array.prototype.lastIndexOf.call(obj, targetObj)');