summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/reduce/15.4.4.21-2-18.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/reduce/15.4.4.21-2-18.js')
-rw-r--r--test/built-ins/Array/prototype/reduce/15.4.4.21-2-18.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/Array/prototype/reduce/15.4.4.21-2-18.js b/test/built-ins/Array/prototype/reduce/15.4.4.21-2-18.js
index 6e50eadc5..43c4f960d 100644
--- a/test/built-ins/Array/prototype/reduce/15.4.4.21-2-18.js
+++ b/test/built-ins/Array/prototype/reduce/15.4.4.21-2-18.js
@@ -9,10 +9,10 @@ description: >
its own property get method
---*/
- function callbackfn(prevVal, curVal, idx, obj) {
- return (obj.length === 3);
- }
+function callbackfn(prevVal, curVal, idx, obj) {
+ return (obj.length === 3);
+}
- var str = new String("012");
+var str = new String("012");
assert.sameValue(Array.prototype.reduce.call(str, callbackfn, 1), true, 'Array.prototype.reduce.call(str, callbackfn, 1)');