summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/forEach/15.4.4.18-5-16.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/forEach/15.4.4.18-5-16.js')
-rw-r--r--test/built-ins/Array/prototype/forEach/15.4.4.18-5-16.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/forEach/15.4.4.18-5-16.js b/test/built-ins/Array/prototype/forEach/15.4.4.18-5-16.js
index 67f48ac06..a0f3cb83d 100644
--- a/test/built-ins/Array/prototype/forEach/15.4.4.18-5-16.js
+++ b/test/built-ins/Array/prototype/forEach/15.4.4.18-5-16.js
@@ -7,13 +7,13 @@ es5id: 15.4.4.18-5-16
description: Array.prototype.forEach - RegExp Object can be used as thisArg
---*/
- var result = false;
- var objRegExp = new RegExp();
+var result = false;
+var objRegExp = new RegExp();
- function callbackfn(val, idx, obj) {
- result = (this === objRegExp);
- }
+function callbackfn(val, idx, obj) {
+ result = (this === objRegExp);
+}
- [11].forEach(callbackfn, objRegExp);
+[11].forEach(callbackfn, objRegExp);
assert(result, 'result !== true');