summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-3-135.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-135.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-3-135.js32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-135.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-135.js
index 81361b3a5..7283eba4f 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-3-135.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-135.js
@@ -9,25 +9,25 @@ description: >
(8.10.5 step 5.a)
---*/
- var obj = {};
+var obj = {};
- var proto = {};
- Object.defineProperty(proto, "value", {
- get: function () {
- return "inheritedAccessorProperty";
- }
- });
+var proto = {};
+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", {
- get: function () {
- return "ownAccessorProperty";
- }
- });
+var child = new ConstructFun();
+Object.defineProperty(child, "value", {
+ get: function() {
+ return "ownAccessorProperty";
+ }
+});
- Object.defineProperty(obj, "property", child);
+Object.defineProperty(obj, "property", child);
assert.sameValue(obj.property, "ownAccessorProperty", 'obj.property');