diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-137.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-137.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-137.js b/test/built-ins/Object/create/15.2.3.5-4-137.js index 884d3f95f..ba189488c 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-137.js +++ b/test/built-ins/Object/create/15.2.3.5-4-137.js @@ -8,17 +8,17 @@ description: > 'Properties' is a Function object (8.10.5 step 4.b) ---*/ - var newObj = Object.create({}, { - prop: { - configurable: function () { } - } - }); +var newObj = Object.create({}, { + prop: { + configurable: function() {} + } +}); - 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'); |