diff options
Diffstat (limited to 'test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-22.js')
-rw-r--r-- | test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-22.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-22.js b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-22.js index b3bcfbc46..edd857c53 100644 --- a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-22.js +++ b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-5-22.js @@ -9,13 +9,13 @@ description: > object, and has an own valueOf method ---*/ -var fromIndex = { - valueOf: function() { - return 2; - } -}; + var fromIndex = { + valueOf: function () { + return 2; + } + }; -var targetObj = function() {}; + var targetObj = function () {}; assert.sameValue([0, true, targetObj, 3, false].lastIndexOf(targetObj, fromIndex), 2, '[0, true, targetObj, 3, false].lastIndexOf(targetObj, fromIndex)'); assert.sameValue([0, true, 3, targetObj, false].lastIndexOf(targetObj, fromIndex), -1, '[0, true, 3, targetObj, false].lastIndexOf(targetObj, fromIndex)'); |