summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/create/15.2.3.5-4-104.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-104.js')
-rw-r--r--test/built-ins/Object/create/15.2.3.5-4-104.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-104.js b/test/built-ins/Object/create/15.2.3.5-4-104.js
index 8505738f0..1d9346fd8 100644
--- a/test/built-ins/Object/create/15.2.3.5-4-104.js
+++ b/test/built-ins/Object/create/15.2.3.5-4-104.js
@@ -12,21 +12,21 @@ includes: [propertyHelper.js]
var proto = {};
Object.defineProperty(proto, "configurable", {
- get: function () {
- return true;
- }
+ get: function() {
+ return true;
+ }
});
-var ConstructFun = function () { };
+var ConstructFun = function() {};
ConstructFun.prototype = proto;
var descObj = new ConstructFun();
Object.defineProperty(descObj, "configurable", {
- value: false
+ value: false
});
var newObj = Object.create({}, {
- prop: descObj
+ prop: descObj
});
assert(newObj.hasOwnProperty("prop"));