summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/reduce/15.4.4.21-2-17.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/reduce/15.4.4.21-2-17.js')
-rw-r--r--test/built-ins/Array/prototype/reduce/15.4.4.21-2-17.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Array/prototype/reduce/15.4.4.21-2-17.js b/test/built-ins/Array/prototype/reduce/15.4.4.21-2-17.js
index c53ac5820..2d0636319 100644
--- a/test/built-ins/Array/prototype/reduce/15.4.4.21-2-17.js
+++ b/test/built-ins/Array/prototype/reduce/15.4.4.21-2-17.js
@@ -9,13 +9,13 @@ description: >
implements its own property get method
---*/
-function callbackfn(prevVal, curVal, idx, obj) {
- return (obj.length === 2);
-}
+ function callbackfn(prevVal, curVal, idx, obj) {
+ return (obj.length === 2);
+ }
-var func = function(a, b) {
- arguments[2] = 9;
- return Array.prototype.reduce.call(arguments, callbackfn, 1);
-};
+ var func = function (a, b) {
+ arguments[2] = 9;
+ return Array.prototype.reduce.call(arguments, callbackfn, 1);
+ };
assert.sameValue(func(12, 11), true, 'func(12, 11)');