summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/concat/15.4.4.4-5-c-i-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/concat/15.4.4.4-5-c-i-1.js')
-rw-r--r--test/built-ins/Array/prototype/concat/15.4.4.4-5-c-i-1.js44
1 files changed, 22 insertions, 22 deletions
diff --git a/test/built-ins/Array/prototype/concat/15.4.4.4-5-c-i-1.js b/test/built-ins/Array/prototype/concat/15.4.4.4-5-c-i-1.js
index f51ca7107..61ecb1a26 100644
--- a/test/built-ins/Array/prototype/concat/15.4.4.4-5-c-i-1.js
+++ b/test/built-ins/Array/prototype/concat/15.4.4.4-5-c-i-1.js
@@ -9,35 +9,35 @@ description: >
(read-only) exists in Array.prototype (Step 5.c.i)
---*/
- Object.defineProperty(Array.prototype, "0", {
- value: 100,
- writable: false,
- configurable: true
- });
+Object.defineProperty(Array.prototype, "0", {
+ value: 100,
+ writable: false,
+ configurable: true
+});
- var newArr = Array.prototype.concat.call(101);
+var newArr = Array.prototype.concat.call(101);
- var hasProperty = newArr.hasOwnProperty("0");
+var hasProperty = newArr.hasOwnProperty("0");
- var instanceOfVerify = typeof newArr[0]==="object";
+var instanceOfVerify = typeof newArr[0] === "object";
- var verifyValue = false;
- verifyValue = newArr[0] == 101;
+var verifyValue = false;
+verifyValue = newArr[0] == 101;
- var verifyEnumerable = false;
- for (var p in newArr) {
- if (p === "0" && newArr.hasOwnProperty("0")) {
- verifyEnumerable = true;
- }
- }
+var verifyEnumerable = false;
+for (var p in newArr) {
+ if (p === "0" && newArr.hasOwnProperty("0")) {
+ verifyEnumerable = true;
+ }
+}
- var verifyWritable = false;
- newArr[0] = 12;
- verifyWritable = newArr[0] === 12;
+var verifyWritable = false;
+newArr[0] = 12;
+verifyWritable = newArr[0] === 12;
- var verifyConfigurable = false;
- delete newArr[0];
- verifyConfigurable = newArr.hasOwnProperty("0");
+var verifyConfigurable = false;
+delete newArr[0];
+verifyConfigurable = newArr.hasOwnProperty("0");
assert(hasProperty, 'hasProperty !== true');
assert(instanceOfVerify, 'instanceOfVerify !== true');