diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-408.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-4-408.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-408.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-408.js index d7d291df0..c1223a55c 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-4-408.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-408.js @@ -9,14 +9,14 @@ description: > attribute is set to true (Date instance) ---*/ -Object.defineProperty(Date.prototype, "prop", { - value: 1001, - writable: true, - enumerable: true, - configurable: true -}); -var dateObj = new Date(); -dateObj.prop = 1002; + Object.defineProperty(Date.prototype, "prop", { + value: 1001, + writable: true, + enumerable: true, + configurable: true + }); + var dateObj = new Date(); + dateObj.prop = 1002; assert(dateObj.hasOwnProperty("prop"), 'dateObj.hasOwnProperty("prop") !== true'); assert.sameValue(dateObj.prop, 1002, 'dateObj.prop'); |