summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/some/15.4.4.17-3-9.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/some/15.4.4.17-3-9.js')
-rw-r--r--test/built-ins/Array/prototype/some/15.4.4.17-3-9.js15
1 files changed, 6 insertions, 9 deletions
diff --git a/test/built-ins/Array/prototype/some/15.4.4.17-3-9.js b/test/built-ins/Array/prototype/some/15.4.4.17-3-9.js
index c0b2c5c15..c65f458c0 100644
--- a/test/built-ins/Array/prototype/some/15.4.4.17-3-9.js
+++ b/test/built-ins/Array/prototype/some/15.4.4.17-3-9.js
@@ -9,17 +9,14 @@ description: >
-Infinity)
---*/
-var accessed = false;
+ var accessed = false;
-function callbackfn(val, idx, obj) {
- accessed = true;
- return val > 10;
-}
+ function callbackfn(val, idx, obj) {
+ accessed = true;
+ return val > 10;
+ }
-var obj = {
- 0: 11,
- length: -Infinity
-};
+ var obj = { 0: 11, length: -Infinity };
assert.sameValue(Array.prototype.some.call(obj, callbackfn), false, 'Array.prototype.some.call(obj, callbackfn)');
assert.sameValue(accessed, false, 'accessed');