summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-448.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-448.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-448.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-448.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-448.js
index c86437c68..890d97d88 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-448.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-448.js
@@ -9,20 +9,20 @@ description: >
[[Configurable]] is true) to a data property
---*/
- var obj = {};
+var obj = {};
- Object.defineProperty(obj, "prop", {
- get: undefined,
- set: undefined,
- enumerable: false,
- configurable: true
- });
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+Object.defineProperty(obj, "prop", {
+ get: undefined,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+});
+var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- Object.defineProperty(obj, "prop", {
- value: 1001
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+Object.defineProperty(obj, "prop", {
+ value: 1001
+});
+var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
assert(desc1.hasOwnProperty("get"), 'desc1.hasOwnProperty("get") !== true');
assert(desc2.hasOwnProperty("value"), 'desc2.hasOwnProperty("value") !== true');