summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-6.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-6.js')
-rw-r--r--test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-6.js13
1 files changed, 5 insertions, 8 deletions
diff --git a/test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-6.js b/test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-6.js
index f67b3e415..8700b391a 100644
--- a/test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-6.js
+++ b/test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-6.js
@@ -7,14 +7,11 @@ es5id: 15.4.4.17-7-c-ii-6
description: Array.prototype.some - arguments to callbackfn are self consistent
---*/
-var obj = {
- 0: 11,
- length: 1
-};
-var thisArg = {};
+ var obj = { 0: 11, length: 1 };
+ var thisArg = {};
-function callbackfn() {
- return this === thisArg && arguments[0] === 11 && arguments[1] === 0 && arguments[2] === obj;
-}
+ function callbackfn() {
+ return this === thisArg && arguments[0] === 11 && arguments[1] === 0 && arguments[2] === obj;
+ }
assert(Array.prototype.some.call(obj, callbackfn, thisArg), 'Array.prototype.some.call(obj, callbackfn, thisArg) !== true');