summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-5-b-17.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-17.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-5-b-17.js44
1 files changed, 22 insertions, 22 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-17.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-17.js
index 10aeb9376..67df372e7 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-17.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-17.js
@@ -9,30 +9,30 @@ description: >
inherited accessor property (8.10.5 step 3.a)
---*/
- var obj = {};
- var proto = {};
- var accessed = false;
- Object.defineProperty(proto, "enumerable", {
- get: function () {
- return false;
- }
- });
+var obj = {};
+var proto = {};
+var accessed = false;
+Object.defineProperty(proto, "enumerable", {
+ get: function() {
+ return false;
+ }
+});
- var Con = function () { };
- Con.prototype = proto;
- var descObj = new Con();
+var Con = function() {};
+Con.prototype = proto;
+var descObj = new Con();
- Object.defineProperty(descObj, "enumerable", {
- set: function () { }
- });
+Object.defineProperty(descObj, "enumerable", {
+ set: function() {}
+});
- Object.defineProperties(obj, {
- prop: descObj
- });
- for (var property in obj) {
- if (property === "prop") {
- accessed = true;
- }
- }
+Object.defineProperties(obj, {
+ prop: descObj
+});
+for (var property in obj) {
+ if (property === "prop") {
+ accessed = true;
+ }
+}
assert.sameValue(accessed, false, 'accessed');