diff options
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-9.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-6-a-9.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-9.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-9.js index 35f88c16d..1b703ad31 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-9.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-9.js @@ -8,16 +8,16 @@ description: > get function (8.12.9 step 1 ) ---*/ -var obj = {}; -Object.defineProperty(obj, "prop", { - set: function() {}, - configurable: false -}); + var obj = {}; + Object.defineProperty(obj, "prop", { + set: function () { }, + configurable: false + }); assert.throws(TypeError, function() { - Object.defineProperties(obj, { - prop: { - get: function() {}, - configurable: true - } - }); + Object.defineProperties(obj, { + prop: { + get: function () { }, + configurable: true + } + }); }); |