summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-3-7.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-3-7.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-3-7.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-3-7.js b/test/built-ins/Object/defineProperties/15.2.3.7-3-7.js
index 65c83d741..828fd9d14 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-3-7.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-3-7.js
@@ -8,23 +8,23 @@ description: >
when 'Properties' doesn't contain enumerable own property
---*/
-var obj = {};
+ var obj = {};
-var props = {};
+ var props = {};
-Object.defineProperty(props, "prop1", {
- value: {},
- enumerable: false
-});
+ Object.defineProperty(props, "prop1", {
+ value: {},
+ enumerable: false
+ });
-Object.defineProperty(props, "prop2", {
- get: function() {
- return {};
- },
- enumerable: false
-});
+ Object.defineProperty(props, "prop2", {
+ get: function () {
+ return {};
+ },
+ enumerable: false
+ });
-Object.defineProperties(obj, props);
+ Object.defineProperties(obj, props);
assert.sameValue(obj.hasOwnProperty("prop1"), false, 'obj.hasOwnProperty("prop1")');
assert.sameValue(obj.hasOwnProperty("prop2"), false, 'obj.hasOwnProperty("prop2")');