summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-5-b-50.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-50.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-5-b-50.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-50.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-50.js
index 7f99adc4a..0a9d41888 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-50.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-50.js
@@ -8,18 +8,18 @@ description: >
'descObj' is a Date object (8.10.5 step 3.b)
---*/
-var obj = {};
-var accessed = false;
+ var obj = {};
+ var accessed = false;
-Object.defineProperties(obj, {
- prop: {
- enumerable: new Date()
- }
-});
-for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
-}
+ Object.defineProperties(obj, {
+ prop: {
+ enumerable: new Date()
+ }
+ });
+ for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+ }
assert(accessed, 'accessed !== true');