diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-166-1.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-166-1.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-166-1.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-166-1.js index 3ed3f5223..66bc45603 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-166-1.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-166-1.js @@ -9,18 +9,18 @@ description: > prototype object (8.10.5 step 6.b) ---*/ -var obj = {}; + var obj = {}; -Array.prototype.writable = true; -var arrObj = [1, 2, 3]; + Array.prototype.writable = true; + var arrObj = [1, 2, 3]; -Object.defineProperty(obj, "property", arrObj); + Object.defineProperty(obj, "property", arrObj); -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'); |