summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-350.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-350.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-350.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-350.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-350.js
index ad0446494..bdc583e44 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-350.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-350.js
@@ -9,21 +9,21 @@ description: >
[[Configurable]] is false) to different value
---*/
- var obj = {};
+var obj = {};
- Object.defineProperty(obj, "prop", {
- value: 2010,
- writable: true,
- enumerable: false,
- configurable: false
- });
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+Object.defineProperty(obj, "prop", {
+ value: 2010,
+ writable: true,
+ enumerable: false,
+ configurable: false
+});
+var propertyDefineCorrect = obj.hasOwnProperty("prop");
+var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- Object.defineProperty(obj, "prop", {
- writable: false
- });
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+Object.defineProperty(obj, "prop", {
+ writable: false
+});
+var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
assert(propertyDefineCorrect, 'propertyDefineCorrect !== true');
assert.sameValue(desc1.writable, true, 'desc1.writable');