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