summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-360-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-360-1.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-360-1.js30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-360-1.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-360-1.js
index 1d4d3db75..68d77e7cc 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-360-1.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-360-1.js
@@ -10,23 +10,23 @@ description: >
object (8.12.9 - step 9.b.i)
---*/
-var obj = [];
+ var obj = [];
-Object.defineProperty(obj, "0", {
- value: 2010,
- writable: false,
- enumerable: true,
- configurable: true
-});
-var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
+ Object.defineProperty(obj, "0", {
+ value: 2010,
+ writable: false,
+ enumerable: true,
+ configurable: true
+ });
+ var desc1 = Object.getOwnPropertyDescriptor(obj, "0");
-function getFunc() {
- return 20;
-}
-Object.defineProperty(obj, "0", {
- get: getFunc
-});
-var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
+ function getFunc() {
+ return 20;
+ }
+ Object.defineProperty(obj, "0", {
+ get: getFunc
+ });
+ var desc2 = Object.getOwnPropertyDescriptor(obj, "0");
assert(desc1.hasOwnProperty("value"), 'desc1.hasOwnProperty("value") !== true');
assert(desc2.hasOwnProperty("get"), 'desc2.hasOwnProperty("get") !== true');