summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/create/15.2.3.5-4-20.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-20.js')
-rw-r--r--test/built-ins/Object/create/15.2.3.5-4-20.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-20.js b/test/built-ins/Object/create/15.2.3.5-4-20.js
index 5a158b32b..a0c5c354c 100644
--- a/test/built-ins/Object/create/15.2.3.5-4-20.js
+++ b/test/built-ins/Object/create/15.2.3.5-4-20.js
@@ -8,15 +8,15 @@ description: >
enumerable is not defined in 'obj' (15.2.3.7 step 3)
---*/
- var props = {};
+var props = {};
- Object.defineProperty(props, "prop", {
- get: function () {
- return {};
- },
- enumerable: false
- });
+Object.defineProperty(props, "prop", {
+ get: function() {
+ return {};
+ },
+ enumerable: false
+});
- var newObj = Object.create({}, props);
+var newObj = Object.create({}, props);
assert.sameValue(newObj.hasOwnProperty("prop"), false, 'newObj.hasOwnProperty("prop")');