summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/some/15.4.4.17-7-b-5.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/some/15.4.4.17-7-b-5.js')
-rw-r--r--test/built-ins/Array/prototype/some/15.4.4.17-7-b-5.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/test/built-ins/Array/prototype/some/15.4.4.17-7-b-5.js b/test/built-ins/Array/prototype/some/15.4.4.17-7-b-5.js
index c808200a9..ab0a8e637 100644
--- a/test/built-ins/Array/prototype/some/15.4.4.17-7-b-5.js
+++ b/test/built-ins/Array/prototype/some/15.4.4.17-7-b-5.js
@@ -9,27 +9,27 @@ description: >
current position are visited on an Array
---*/
- function callbackfn(val, idx, obj) {
- if (idx === 1 && val === 1) {
- return true;
- } else {
- return false;
- }
- }
+function callbackfn(val, idx, obj) {
+ if (idx === 1 && val === 1) {
+ return true;
+ } else {
+ return false;
+ }
+}
- var arr = [0, , 2];
+var arr = [0, , 2];
- Object.defineProperty(arr, "0", {
- get: function () {
- Object.defineProperty(arr, "1", {
- get: function () {
- return 1;
- },
- configurable: true
- });
- return 0;
- },
- configurable: true
- });
+Object.defineProperty(arr, "0", {
+ get: function() {
+ Object.defineProperty(arr, "1", {
+ get: function() {
+ return 1;
+ },
+ configurable: true
+ });
+ return 0;
+ },
+ configurable: true
+});
assert(arr.some(callbackfn), 'arr.some(callbackfn) !== true');