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