summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/reduce/15.4.4.21-1-12.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/reduce/15.4.4.21-1-12.js')
-rw-r--r--test/built-ins/Array/prototype/reduce/15.4.4.21-1-12.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/reduce/15.4.4.21-1-12.js b/test/built-ins/Array/prototype/reduce/15.4.4.21-1-12.js
index 7e9604d55..ade27ade6 100644
--- a/test/built-ins/Array/prototype/reduce/15.4.4.21-1-12.js
+++ b/test/built-ins/Array/prototype/reduce/15.4.4.21-1-12.js
@@ -7,12 +7,12 @@ es5id: 15.4.4.21-1-12
description: Array.prototype.reduce applied to RegExp object
---*/
- function callbackfn(prevVal, curVal, idx, obj) {
- return obj instanceof RegExp;
- }
+function callbackfn(prevVal, curVal, idx, obj) {
+ return obj instanceof RegExp;
+}
- var obj = new RegExp();
- obj.length = 1;
- obj[0] = 1;
+var obj = new RegExp();
+obj.length = 1;
+obj[0] = 1;
assert(Array.prototype.reduce.call(obj, callbackfn, 1), 'Array.prototype.reduce.call(obj, callbackfn, 1) !== true');