summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/concat/15.4.4.4-5-b-iii-3-b-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/concat/15.4.4.4-5-b-iii-3-b-1.js')
-rw-r--r--test/built-ins/Array/prototype/concat/15.4.4.4-5-b-iii-3-b-1.js42
1 files changed, 21 insertions, 21 deletions
diff --git a/test/built-ins/Array/prototype/concat/15.4.4.4-5-b-iii-3-b-1.js b/test/built-ins/Array/prototype/concat/15.4.4.4-5-b-iii-3-b-1.js
index 3910be2f0..121bcd6df 100644
--- a/test/built-ins/Array/prototype/concat/15.4.4.4-5-b-iii-3-b-1.js
+++ b/test/built-ins/Array/prototype/concat/15.4.4.4-5-b-iii-3-b-1.js
@@ -9,33 +9,33 @@ description: >
(read-only) exists in Array.prototype (Step 5.b.iii.3.b)
---*/
-Object.defineProperty(Array.prototype, "0", {
- value: 100,
- writable: false,
- configurable: true
-});
+ Object.defineProperty(Array.prototype, "0", {
+ value: 100,
+ writable: false,
+ configurable: true
+ });
-var oldArr = [101];
+ var oldArr = [101];
-var newArr = Array.prototype.concat.call(oldArr);
+ var newArr = Array.prototype.concat.call(oldArr);
-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(verifyValue, 'verifyValue !== true');
assert.sameValue(verifyConfigurable, false, 'verifyConfigurable');