summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-3-129.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-129.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-3-129.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-129.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-129.js
index 1549cb62c..6c0767ea0 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-3-129.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-129.js
@@ -8,17 +8,17 @@ description: >
inherited data property (8.10.5 step 5.a)
---*/
-var obj = {};
+ var obj = { };
-var proto = {
- value: "inheritedDataProperty"
-};
+ var proto = {
+ value: "inheritedDataProperty"
+ };
-var ConstructFun = function() {};
-ConstructFun.prototype = proto;
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
-var child = new ConstructFun();
+ var child = new ConstructFun();
-Object.defineProperty(obj, "property", child);
+ Object.defineProperty(obj, "property", child);
assert.sameValue(obj.property, "inheritedDataProperty", 'obj.property');