summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js')
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js
index bdcdb212d..01ba00c36 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js
@@ -6,14 +6,14 @@ es5id: 15.2.3.12-2-a-13
description: Object.isFrozen - 'O' is a Function object
---*/
- var obj = function () { };
-
- Object.defineProperty(obj, "property", {
- value: 12,
- writable: true,
- configurable: false
- });
+var obj = function() {};
- Object.preventExtensions(obj);
+Object.defineProperty(obj, "property", {
+ value: 12,
+ writable: true,
+ configurable: false
+});
+
+Object.preventExtensions(obj);
assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)');