diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-196.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-196.js | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-196.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-196.js index 62c4cd7d7..2ce077a6e 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-196.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-196.js @@ -8,17 +8,15 @@ description: > Date object (8.10.5 step 6.b) ---*/ -var obj = {}; + var obj = {}; -Object.defineProperty(obj, "property", { - writable: new Date() -}); + Object.defineProperty(obj, "property", { writable: new Date() }); -var beforeWrite = obj.hasOwnProperty("property"); + var beforeWrite = obj.hasOwnProperty("property"); -obj.property = "isWritable"; + obj.property = "isWritable"; -var afterWrite = (obj.property === "isWritable"); + var afterWrite = (obj.property === "isWritable"); assert.sameValue(beforeWrite, true, 'beforeWrite'); assert.sameValue(afterWrite, true, 'afterWrite'); |