diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-191.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-191.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-191.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-191.js index 0bed96abc..bae79913a 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-191.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-191.js @@ -8,15 +8,17 @@ description: > Array object (8.10.5 step 6.b) ---*/ - var obj = {}; +var obj = {}; - Object.defineProperty(obj, "property", { writable: [1, 2, 3] }); +Object.defineProperty(obj, "property", { + writable: [1, 2, 3] +}); - 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'); |