summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/reduce/15.4.4.21-1-8.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/reduce/15.4.4.21-1-8.js')
-rw-r--r--test/built-ins/Array/prototype/reduce/15.4.4.21-1-8.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/Array/prototype/reduce/15.4.4.21-1-8.js b/test/built-ins/Array/prototype/reduce/15.4.4.21-1-8.js
index 169467bb2..96635cee2 100644
--- a/test/built-ins/Array/prototype/reduce/15.4.4.21-1-8.js
+++ b/test/built-ins/Array/prototype/reduce/15.4.4.21-1-8.js
@@ -7,10 +7,10 @@ es5id: 15.4.4.21-1-8
description: Array.prototype.reduce applied to String object
---*/
- function callbackfn(prevVal, curVal, idx, obj) {
- return obj instanceof String;
- }
+function callbackfn(prevVal, curVal, idx, obj) {
+ return obj instanceof String;
+}
- var obj = new String("abc");
+var obj = new String("abc");
assert(Array.prototype.reduce.call(obj, callbackfn, 1), 'Array.prototype.reduce.call(obj, callbackfn, 1) !== true');