summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/forEach/15.4.4.18-3-24.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/forEach/15.4.4.18-3-24.js')
-rw-r--r--test/built-ins/Array/prototype/forEach/15.4.4.18-3-24.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Array/prototype/forEach/15.4.4.18-3-24.js b/test/built-ins/Array/prototype/forEach/15.4.4.18-3-24.js
index 770f80e02..fb2da44e1 100644
--- a/test/built-ins/Array/prototype/forEach/15.4.4.18-3-24.js
+++ b/test/built-ins/Array/prototype/forEach/15.4.4.18-3-24.js
@@ -9,18 +9,18 @@ description: >
non-integer, ensure truncation occurs in the proper direction
---*/
- var testResult = false;
+var testResult = false;
- function callbackfn(val, idx, obj) {
- testResult = (val > 10);
- }
+function callbackfn(val, idx, obj) {
+ testResult = (val > 10);
+}
- var obj = {
- 1: 11,
- 2: 9,
- length: 2.685
- };
+var obj = {
+ 1: 11,
+ 2: 9,
+ length: 2.685
+};
- Array.prototype.forEach.call(obj, callbackfn);
+Array.prototype.forEach.call(obj, callbackfn);
assert(testResult, 'testResult !== true');