summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-5-b-146.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-146.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-5-b-146.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-146.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-146.js
index a3cf7d943..86aba4c5f 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-146.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-146.js
@@ -13,22 +13,22 @@ includes: [propertyHelper.js]
var obj = {};
var proto = {
- writable: true
+ writable: true
};
-var Con = function() {};
+var Con = function () { };
Con.prototype = proto;
var descObj = new Con();
Object.defineProperty(descObj, "writable", {
- get: function() {
- return false;
- }
+ get: function () {
+ return false;
+ }
});
Object.defineProperties(obj, {
- property: descObj
+ property: descObj
});
assert(obj.hasOwnProperty("property"));