diff options
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-25.js')
-rw-r--r-- | test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-25.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-25.js b/test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-25.js index 41cff6af1..74fd1615f 100644 --- a/test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-25.js +++ b/test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-25.js @@ -10,18 +10,18 @@ description: > less than number of parameters) ---*/ - function callbackfn(val, idx, obj) { - if (idx === 0) { - return val === 9; - } else { - return false; - } - } +function callbackfn(val, idx, obj) { + if (idx === 0) { + return val === 9; + } else { + return false; + } +} - var func = function (a, b) { - return Array.prototype.map.call(arguments, callbackfn); - }; +var func = function(a, b) { + return Array.prototype.map.call(arguments, callbackfn); +}; - var testResult = func(9); +var testResult = func(9); assert.sameValue(testResult[0], true, 'testResult[0]'); |