summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js')
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js
index 7ebdca6bc..251b7760c 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js
@@ -8,24 +8,24 @@ description: >
function that overrides an 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", {
- set: function () { },
- configurable: true
- });
+Object.defineProperty(child, "foo", {
+ set: function() {},
+ configurable: true
+});
- Object.preventExtensions(child);
+Object.preventExtensions(child);
assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)');