summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-3-72.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-72.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-3-72.js18
1 files changed, 10 insertions, 8 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-72.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-72.js
index 64bd3d7e2..1da2600b6 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-3-72.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-72.js
@@ -9,15 +9,17 @@ description: >
(8.10.5 step 3.b)
---*/
- var obj = {};
- var accessed = false;
+var obj = {};
+var accessed = false;
- Object.defineProperty(obj, "property", { enumerable: new Boolean(false) });
+Object.defineProperty(obj, "property", {
+ enumerable: new Boolean(false)
+});
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
+for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+}
assert(accessed, 'accessed !== true');