diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-95.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-95.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-95.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-95.js index f0063df45..f37dab149 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-95.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-95.js @@ -9,19 +9,19 @@ description: > (8.10.5 step 4.a) ---*/ - var obj = { }; +var obj = {}; - var errObj = new Error(); +var errObj = new Error(); - errObj.configurable = true; +errObj.configurable = true; - Object.defineProperty(obj, "property", errObj); +Object.defineProperty(obj, "property", errObj); - var beforeDeleted = obj.hasOwnProperty("property"); +var beforeDeleted = obj.hasOwnProperty("property"); - delete obj.property; +delete obj.property; - var afterDeleted = obj.hasOwnProperty("property"); +var afterDeleted = obj.hasOwnProperty("property"); assert.sameValue(beforeDeleted, true, 'beforeDeleted'); assert.sameValue(afterDeleted, false, 'afterDeleted'); |