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