summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-28.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-28.js')
-rw-r--r--test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-28.js44
1 files changed, 22 insertions, 22 deletions
diff --git a/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-28.js b/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-28.js
index d39ed23c0..425efe589 100644
--- a/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-28.js
+++ b/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-28.js
@@ -9,30 +9,30 @@ description: >
iterations is observed on an Array
---*/
- var preIterVisible = false;
- var arr = [];
+var preIterVisible = false;
+var arr = [];
- function callbackfn(val, idx, obj) {
- return val > 10;
- }
+function callbackfn(val, idx, obj) {
+ return val > 10;
+}
- Object.defineProperty(arr, "0", {
- get: function () {
- preIterVisible = true;
- return 11;
- },
- configurable: true
- });
+Object.defineProperty(arr, "0", {
+ get: function() {
+ preIterVisible = true;
+ return 11;
+ },
+ configurable: true
+});
- Object.defineProperty(arr, "1", {
- get: function () {
- if (preIterVisible) {
- return 9;
- } else {
- return 11;
- }
- },
- configurable: true
- });
+Object.defineProperty(arr, "1", {
+ get: function() {
+ if (preIterVisible) {
+ return 9;
+ } else {
+ return 11;
+ }
+ },
+ configurable: true
+});
assert.sameValue(arr.every(callbackfn), false, 'arr.every(callbackfn)');