summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/preventExtensions/15.2.3.10-3-23.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/preventExtensions/15.2.3.10-3-23.js')
-rw-r--r--test/built-ins/Object/preventExtensions/15.2.3.10-3-23.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/built-ins/Object/preventExtensions/15.2.3.10-3-23.js b/test/built-ins/Object/preventExtensions/15.2.3.10-3-23.js
index f857d410b..b7c93c497 100644
--- a/test/built-ins/Object/preventExtensions/15.2.3.10-3-23.js
+++ b/test/built-ins/Object/preventExtensions/15.2.3.10-3-23.js
@@ -8,11 +8,13 @@ description: >
after extensions have been prevented
---*/
- var obj = { prop: 12 };
- var preCheck = Object.isExtensible(obj);
- Object.preventExtensions(obj);
+var obj = {
+ prop: 12
+};
+var preCheck = Object.isExtensible(obj);
+Object.preventExtensions(obj);
- obj.prop = -1;
+obj.prop = -1;
assert(preCheck, 'preCheck !== true');
assert.sameValue(obj.prop, -1, 'obj.prop');