aboutsummaryrefslogtreecommitdiffstats
path: root/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-3.js')
-rw-r--r--test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-3.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-3.js b/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-3.js
index 930eccc68..2c9e90de3 100644
--- a/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-3.js
+++ b/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-3.js
@@ -8,16 +8,16 @@ description: >
overrides an inherited data property
---*/
- var proto = {
- property: "inheritedDataProperty"
- };
+var proto = {
+ property: "inheritedDataProperty"
+};
- var Con = function () { };
- Con.ptototype = proto;
+var Con = function() {};
+Con.ptototype = proto;
- var child = new Con();
- child.property = "ownDataProperty";
+var child = new Con();
+child.property = "ownDataProperty";
- var desc = Object.getOwnPropertyDescriptor(child, "property");
+var desc = Object.getOwnPropertyDescriptor(child, "property");
assert.sameValue(desc.value, "ownDataProperty", 'desc.value');