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