summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-3-131.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-131.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-3-131.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-131.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-131.js
index bba5ca3f3..6490829bf 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-3-131.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-131.js
@@ -9,24 +9,24 @@ description: >
(8.10.5 step 5.a)
---*/
-var obj = {};
+ var obj = { };
-var proto = {};
+ var proto = {};
-Object.defineProperty(proto, "value", {
- get: function() {
- return "inheritedAccessorProperty";
- }
-});
+ Object.defineProperty(proto, "value", {
+ get: function () {
+ return "inheritedAccessorProperty";
+ }
+ });
-var ConstructFun = function() {};
-ConstructFun.prototype = proto;
+ var ConstructFun = function () { };
+ ConstructFun.prototype = proto;
-var child = new ConstructFun();
-Object.defineProperty(child, "value", {
- value: "ownDataProperty"
-});
+ var child = new ConstructFun();
+ Object.defineProperty(child, "value", {
+ value: "ownDataProperty"
+ });
-Object.defineProperty(obj, "property", child);
+ Object.defineProperty(obj, "property", child);
assert.sameValue(obj.property, "ownDataProperty", 'obj.property');