diff options
Diffstat (limited to 'test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-25.js')
-rw-r--r-- | test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-25.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-25.js b/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-25.js index 87a76dd0b..fe7a12aad 100644 --- a/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-25.js +++ b/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-25.js @@ -10,15 +10,15 @@ description: > less than number of parameters) ---*/ - function callbackfn(val, idx, obj) { - if (idx === 0) { - return val === 11; - } - return false; - } +function callbackfn(val, idx, obj) { + if (idx === 0) { + return val === 11; + } + return false; +} - var func = function (a, b) { - return Array.prototype.some.call(arguments, callbackfn); - }; +var func = function(a, b) { + return Array.prototype.some.call(arguments, callbackfn); +}; assert(func(11), 'func(11) !== true'); |