diff options
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-9-13.js')
-rw-r--r-- | test/built-ins/Array/prototype/map/15.4.4.19-9-13.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-9-13.js b/test/built-ins/Array/prototype/map/15.4.4.19-9-13.js index f84a937ee..d4c208ccd 100644 --- a/test/built-ins/Array/prototype/map/15.4.4.19-9-13.js +++ b/test/built-ins/Array/prototype/map/15.4.4.19-9-13.js @@ -9,16 +9,16 @@ description: > functions, O is unmodified ---*/ -var called = 0; + var called = 0; -function callbackfn(val, idx, obj) { - called++; - return val > 2; -} + function callbackfn(val, idx, obj) { + called++; + return val > 2; + } -var arr = [1, 2, 3, 4]; + var arr = [1, 2, 3, 4]; -arr.map(callbackfn); + arr.map(callbackfn); assert.sameValue(arr[0], 1, 'arr[0]'); assert.sameValue(arr[1], 2, 'arr[1]'); |