diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-119.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-119.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-119.js b/test/built-ins/Object/create/15.2.3.5-4-119.js index 8b26b7a59..2d92b08bb 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-119.js +++ b/test/built-ins/Object/create/15.2.3.5-4-119.js @@ -9,17 +9,17 @@ description: > (8.10.5 step 4.a) ---*/ -var descObj = new RegExp(); + var descObj = new RegExp(); -descObj.configurable = true; + descObj.configurable = true; -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'); |