diff options
Diffstat (limited to 'test/built-ins/Array/prototype/indexOf/15.4.4.14-2-4.js')
-rw-r--r-- | test/built-ins/Array/prototype/indexOf/15.4.4.14-2-4.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-4.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-4.js index 5a4f6f238..dfc01cd8d 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-4.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-4.js @@ -9,10 +9,10 @@ description: > overrides an inherited data property on an Array ---*/ - var targetObj = {}; - var arrProtoLen; +var targetObj = {}; +var arrProtoLen; - arrProtoLen = Array.prototype.length; - Array.prototype.length = 0; +arrProtoLen = Array.prototype.length; +Array.prototype.length = 0; assert.sameValue([0, targetObj].indexOf(targetObj), 1, '[0, targetObj].indexOf(targetObj)'); |