summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/reduce/15.4.4.21-10-5.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/reduce/15.4.4.21-10-5.js')
-rw-r--r--test/built-ins/Array/prototype/reduce/15.4.4.21-10-5.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/reduce/15.4.4.21-10-5.js b/test/built-ins/Array/prototype/reduce/15.4.4.21-10-5.js
index f7778c537..82c843ecd 100644
--- a/test/built-ins/Array/prototype/reduce/15.4.4.21-10-5.js
+++ b/test/built-ins/Array/prototype/reduce/15.4.4.21-10-5.js
@@ -9,10 +9,10 @@ description: >
indices(initialvalue present)
---*/
- function callbackfn(prevVal, curVal, idx, obj)
- {
- return prevVal + curVal;
- }
- var srcArr = ['1','2','3','4','5'];
+function callbackfn(prevVal, curVal, idx, obj)
+{
+ return prevVal + curVal;
+}
+var srcArr = ['1', '2', '3', '4', '5'];
-assert.sameValue(srcArr.reduce(callbackfn,'0'), '012345', 'srcArr.reduce(callbackfn,"0")');
+assert.sameValue(srcArr.reduce(callbackfn, '0'), '012345', 'srcArr.reduce(callbackfn,"0")');