summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-10.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-10.js')
-rw-r--r--test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-10.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-10.js b/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-10.js
index 1357bbb23..653e5e244 100644
--- a/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-10.js
+++ b/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-10.js
@@ -9,21 +9,21 @@ description: >
property on an Array
---*/
- function callbackfn(val, idx, obj) {
- if (idx === 2) {
- return val !== 12;
- } else {
- return true;
- }
- }
+function callbackfn(val, idx, obj) {
+ if (idx === 2) {
+ return val !== 12;
+ } else {
+ return true;
+ }
+}
- var arr = [];
+var arr = [];
- Object.defineProperty(arr, "2", {
- get: function () {
- return 12;
- },
- configurable: true
- });
+Object.defineProperty(arr, "2", {
+ get: function() {
+ return 12;
+ },
+ configurable: true
+});
assert.sameValue(arr.every(callbackfn), false, 'arr.every(callbackfn)');