summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-6-a-198.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-198.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-6-a-198.js32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-198.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-198.js
index 2d19fa185..e6ee90417 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-198.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-198.js
@@ -11,24 +11,24 @@ description: >
(15.4.5.1 step 4.c)
---*/
- var arr = [];
- var isOwnProperty = false;
- var canEnumerable = false;
+var arr = [];
+var isOwnProperty = false;
+var canEnumerable = false;
- Object.defineProperties(arr, {
- "0": {
- value: 1001,
- writable: true,
- configurable: true
- }
- });
+Object.defineProperties(arr, {
+ "0": {
+ value: 1001,
+ writable: true,
+ configurable: true
+ }
+});
- isOwnProperty = arr.hasOwnProperty("0");
- for (var i in arr) {
- if (i === "0") {
- canEnumerable = true;
- }
- }
+isOwnProperty = arr.hasOwnProperty("0");
+for (var i in arr) {
+ if (i === "0") {
+ canEnumerable = true;
+ }
+}
assert(isOwnProperty, 'isOwnProperty !== true');
assert.sameValue(canEnumerable, false, 'canEnumerable');