diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-117.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-117.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-117.js b/test/built-ins/Object/create/15.2.3.5-4-117.js index 0def02aaa..4f1723e21 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-117.js +++ b/test/built-ins/Object/create/15.2.3.5-4-117.js @@ -9,15 +9,15 @@ description: > property (8.10.5 step 4.a) ---*/ - Math.configurable = true; +Math.configurable = true; - var newObj = Object.create({}, { - prop: Math - }); +var newObj = Object.create({}, { + prop: Math +}); - 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'); |