diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-88-1.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-88-1.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-88-1.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-88-1.js index c0708bbe1..c5b2ee9fb 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-88-1.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-88-1.js @@ -9,18 +9,18 @@ description: > (8.10.5 step 4.a) ---*/ - var obj = {}; +var obj = {}; - String.prototype.configurable = true; - var strObj = new String("abc"); +String.prototype.configurable = true; +var strObj = new String("abc"); - Object.defineProperty(obj, "property", strObj); +Object.defineProperty(obj, "property", strObj); - 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'); |