summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-238.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-238.js')
-rw-r--r--test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-238.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-238.js b/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-238.js
index d86824cd2..5e877a51d 100644
--- a/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-238.js
+++ b/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-238.js
@@ -9,16 +9,14 @@ description: >
'configurable' attribute
---*/
-var obj = {
- "property": "ownDataProperty"
-};
+ var obj = { "property": "ownDataProperty" };
-var desc = Object.getOwnPropertyDescriptor(obj, "property");
+ var desc = Object.getOwnPropertyDescriptor(obj, "property");
-var propDefined = "configurable" in desc;
+ var propDefined = "configurable" in desc;
-delete desc.configurable;
-var propDeleted = "configurable" in desc;
+ delete desc.configurable;
+ var propDeleted = "configurable" in desc;
assert(propDefined, 'propDefined !== true');
assert.sameValue(propDeleted, false, 'propDeleted');