summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js')
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js
index 47cbc5062..f010ceee0 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js
@@ -8,27 +8,27 @@ description: >
inherited accessor property
---*/
-var proto = {};
+ var proto = {};
-Object.defineProperty(proto, "foo", {
- get: function() {
- return 12;
- },
- configurable: false
-});
+ Object.defineProperty(proto, "foo", {
+ get: function () {
+ return 12;
+ },
+ 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", {
- get: function() {
- return 9;
- },
- configurable: true
-});
+ Object.defineProperty(child, "foo", {
+ get: function () {
+ return 9;
+ },
+ configurable: true
+ });
-Object.preventExtensions(child);
+ Object.preventExtensions(child);
assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)');