diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-87-1.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-87-1.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-87-1.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-87-1.js index 8d7386e46..b28cb6881 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-87-1.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-87-1.js @@ -9,18 +9,18 @@ description: > (8.10.5 step 4.a) ---*/ -var obj = {}; + var obj = {}; -Array.prototype.configurable = true; -var arrObj = [1, 2, 3]; + Array.prototype.configurable = true; + var arrObj = [1, 2, 3]; -Object.defineProperty(obj, "property", arrObj); + Object.defineProperty(obj, "property", arrObj); -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'); |