summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-16.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-16.js')
-rw-r--r--test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-16.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-16.js b/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-16.js
index ee3cf2adb..f610a757f 100644
--- a/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-16.js
+++ b/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-16.js
@@ -9,20 +9,20 @@ description: >
accessor property on an Array
---*/
- var kValue = "abc";
+var kValue = "abc";
- function callbackfn(val, idx, obj) {
- if (idx === 1) {
- return val === kValue;
- }
- return false;
- }
+function callbackfn(val, idx, obj) {
+ if (idx === 1) {
+ return val === kValue;
+ }
+ return false;
+}
- Object.defineProperty(Array.prototype, "1", {
- get: function () {
- return kValue;
- },
- configurable: true
- });
+Object.defineProperty(Array.prototype, "1", {
+ get: function() {
+ return kValue;
+ },
+ configurable: true
+});
assert([, , ].some(callbackfn), '[, , ].some(callbackfn) !== true');