diff options
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-241.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-5-b-241.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-241.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-241.js index bc61c54f3..d8df00083 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-241.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-241.js @@ -9,19 +9,19 @@ description: > step 8.a) ---*/ -var data = "data"; -var descStr = new String(); -var setFun = function(value) { - data = value; -}; + var data = "data"; + var descStr = new String(); + var setFun = function (value) { + data = value; + }; -descStr.prop = { - set: setFun -}; + descStr.prop = { + set: setFun + }; -var obj = {}; -Object.defineProperties(obj, descStr); -obj.prop = "strData"; + var obj = {}; + Object.defineProperties(obj, descStr); + obj.prop = "strData"; assert(obj.hasOwnProperty("prop"), 'obj.hasOwnProperty("prop") !== true'); assert.sameValue(data, "strData", 'data'); |