summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/create/15.2.3.5-4-102.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-102.js')
-rw-r--r--test/built-ins/Object/create/15.2.3.5-4-102.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-102.js b/test/built-ins/Object/create/15.2.3.5-4-102.js
index d8fbe1baa..88aebe8b6 100644
--- a/test/built-ins/Object/create/15.2.3.5-4-102.js
+++ b/test/built-ins/Object/create/15.2.3.5-4-102.js
@@ -8,21 +8,21 @@ description: >
'Properties' is an inherited data property (8.10.5 step 4.a)
---*/
- var proto = {
- configurable: true
- };
+var proto = {
+ configurable: true
+};
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
- var descObj = new ConstructFun();
+var ConstructFun = function() {};
+ConstructFun.prototype = proto;
+var descObj = new ConstructFun();
- var newObj = Object.create({}, {
- prop: descObj
- });
+var newObj = Object.create({}, {
+ prop: descObj
+});
- var result1 = newObj.hasOwnProperty("prop");
- delete newObj.prop;
- var result2 = newObj.hasOwnProperty("prop");
+var result1 = newObj.hasOwnProperty("prop");
+delete newObj.prop;
+var result2 = newObj.hasOwnProperty("prop");
assert.sameValue(result1, true, 'result1');
assert.sameValue(result2, false, 'result2');