diff options
Diffstat (limited to 'test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js')
-rw-r--r-- | test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js index 80b28f1ac..7fc07b2b6 100644 --- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js +++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js @@ -8,25 +8,25 @@ description: > inherited accessor property ---*/ - var proto = {}; +var proto = {}; - Object.defineProperty(proto, "foo", { - get: function () { - return 9; - }, - configurable: false - }); +Object.defineProperty(proto, "foo", { + get: function() { + return 9; + }, + configurable: false +}); - var Con = function () { }; - Con.prototype = proto; - var child = new Con(); +var Con = function() {}; +Con.prototype = proto; +var child = new Con(); - Object.defineProperty(child, "foo", { - value: 12, - configurable: true - }); +Object.defineProperty(child, "foo", { + value: 12, + configurable: true +}); - Object.preventExtensions(child); +Object.preventExtensions(child); assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)'); |