diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-251-1.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-251-1.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-251-1.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-251-1.js index 6ea5a518d..f4799b729 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-251-1.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-251-1.js @@ -9,16 +9,16 @@ description: > object (8.10.5 step 8.a) ---*/ - var obj = {}; - var data = "data"; +var obj = {}; +var data = "data"; - Boolean.prototype.set = function (value) { - data = value; - }; - var boolObj = new Boolean(true); +Boolean.prototype.set = function(value) { + data = value; +}; +var boolObj = new Boolean(true); - Object.defineProperty(obj, "property", boolObj); - obj.property = "overrideData"; +Object.defineProperty(obj, "property", boolObj); +obj.property = "overrideData"; assert(obj.hasOwnProperty("property"), 'obj.hasOwnProperty("property") !== true'); assert.sameValue(data, "overrideData", 'data'); |