diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-141.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-141.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-141.js b/test/built-ins/Object/create/15.2.3.5-4-141.js index 9ad3bb849..c421aa649 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-141.js +++ b/test/built-ins/Object/create/15.2.3.5-4-141.js @@ -8,17 +8,17 @@ description: > 'Properties' is a Number object (8.10.5 step 4.b) ---*/ - var newObj = Object.create({}, { - prop: { - configurable: new Number(123) - } - }); +var newObj = Object.create({}, { + prop: { + configurable: new Number(123) + } +}); - var beforeDeleted = newObj.hasOwnProperty("prop"); +var beforeDeleted = newObj.hasOwnProperty("prop"); - delete newObj.prop; +delete newObj.prop; - var afterDeleted = newObj.hasOwnProperty("prop"); +var afterDeleted = newObj.hasOwnProperty("prop"); assert.sameValue(beforeDeleted, true, 'beforeDeleted'); assert.sameValue(afterDeleted, false, 'afterDeleted'); |