summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/reduce/15.4.4.21-2-2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/reduce/15.4.4.21-2-2.js')
-rw-r--r--test/built-ins/Array/prototype/reduce/15.4.4.21-2-2.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/Array/prototype/reduce/15.4.4.21-2-2.js b/test/built-ins/Array/prototype/reduce/15.4.4.21-2-2.js
index 6b63af80a..0770dea2b 100644
--- a/test/built-ins/Array/prototype/reduce/15.4.4.21-2-2.js
+++ b/test/built-ins/Array/prototype/reduce/15.4.4.21-2-2.js
@@ -7,8 +7,8 @@ es5id: 15.4.4.21-2-2
description: Array.prototype.reduce - 'length' is own data property on an Array
---*/
-function callbackfn(prevVal, curVal, idx, obj) {
- return (obj.length === 2);
-}
+ function callbackfn(prevVal, curVal, idx, obj) {
+ return (obj.length === 2);
+ }
assert.sameValue([12, 11].reduce(callbackfn, 1), true, '[12, 11].reduce(callbackfn, 1)');