diff options
Diffstat (limited to 'test/built-ins/Array/prototype/indexOf/15.4.4.14-3-24.js')
-rw-r--r-- | test/built-ins/Array/prototype/indexOf/15.4.4.14-3-24.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-24.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-24.js index 109eca9ec..539f8d669 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-24.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-24.js @@ -9,11 +9,7 @@ description: > non-integer, ensure truncation occurs in the proper direction ---*/ -var obj = { - 122: true, - 123: false, - length: 123.321 -}; //length will be 123 finally + var obj = { 122: true, 123: false, length: 123.321 }; //length will be 123 finally assert.sameValue(Array.prototype.indexOf.call(obj, true), 122, 'Array.prototype.indexOf.call(obj, true)'); assert.sameValue(Array.prototype.indexOf.call(obj, false), -1, 'Array.prototype.indexOf.call(obj, false)'); |