diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-172.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-172.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-172.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-172.js index 8c1f6a605..424ac5008 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-172.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-172.js @@ -9,19 +9,19 @@ description: > step 6.a) ---*/ - var obj = { }; +var obj = {}; - var regObj = new RegExp(); +var regObj = new RegExp(); - regObj.writable = true; +regObj.writable = true; - Object.defineProperty(obj, "property", regObj); +Object.defineProperty(obj, "property", regObj); - 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'); |