diff options
Diffstat (limited to 'test/built-ins/Array/prototype/indexOf/15.4.4.14-1-5.js')
-rw-r--r-- | test/built-ins/Array/prototype/indexOf/15.4.4.14-1-5.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-5.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-5.js index 4fa661c8b..ccca65776 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-5.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-5.js @@ -7,9 +7,9 @@ es5id: 15.4.4.14-1-5 description: Array.prototype.indexOf applied to number primitive ---*/ -var targetObj = {}; + var targetObj = {}; -Number.prototype[1] = targetObj; -Number.prototype.length = 2; + Number.prototype[1] = targetObj; + Number.prototype.length = 2; assert.sameValue(Array.prototype.indexOf.call(5, targetObj), 1, 'Array.prototype.indexOf.call(5, targetObj)'); |