summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-7.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-7.js')
-rw-r--r--test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-7.js28
1 files changed, 15 insertions, 13 deletions
diff --git a/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-7.js b/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-7.js
index f0d11eb5b..10d9ab7db 100644
--- a/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-7.js
+++ b/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-7.js
@@ -9,22 +9,24 @@ description: >
property on an Array-like object
---*/
- var kValue = 'abc';
+var kValue = 'abc';
- function callbackfn(val, idx, obj) {
- if (idx === 5) {
- return val !== kValue;
- } else {
- return true;
- }
- }
+function callbackfn(val, idx, obj) {
+ if (idx === 5) {
+ return val !== kValue;
+ } else {
+ return true;
+ }
+}
- var proto = { 5: kValue };
+var proto = {
+ 5: kValue
+};
- var Con = function () { };
- Con.prototype = proto;
+var Con = function() {};
+Con.prototype = proto;
- var child = new Con();
- child.length = 10;
+var child = new Con();
+child.length = 10;
assert.sameValue(Array.prototype.every.call(child, callbackfn), false, 'Array.prototype.every.call(child, callbackfn)');