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