diff options
Diffstat (limited to 'test/built-ins/Array/prototype/some/15.4.4.17-1-9.js')
-rw-r--r-- | test/built-ins/Array/prototype/some/15.4.4.17-1-9.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Array/prototype/some/15.4.4.17-1-9.js b/test/built-ins/Array/prototype/some/15.4.4.17-1-9.js index 3dd74e302..866d6f61b 100644 --- a/test/built-ins/Array/prototype/some/15.4.4.17-1-9.js +++ b/test/built-ins/Array/prototype/some/15.4.4.17-1-9.js @@ -7,14 +7,14 @@ es5id: 15.4.4.17-1-9 description: Array.prototype.some applied to Function object ---*/ - function callbackfn(val, idx, obj) { - return obj instanceof Function; - } +function callbackfn(val, idx, obj) { + return obj instanceof Function; +} - var obj = function (a, b) { - return a + b; - }; - obj[0] = 11; - obj[1] = 9; +var obj = function(a, b) { + return a + b; +}; +obj[0] = 11; +obj[1] = 9; assert(Array.prototype.some.call(obj, callbackfn), 'Array.prototype.some.call(obj, callbackfn) !== true'); |