summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/create/15.2.3.5-4-10.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-10.js')
-rw-r--r--test/built-ins/Object/create/15.2.3.5-4-10.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-10.js b/test/built-ins/Object/create/15.2.3.5-4-10.js
index 55d42da32..b62c3b3c4 100644
--- a/test/built-ins/Object/create/15.2.3.5-4-10.js
+++ b/test/built-ins/Object/create/15.2.3.5-4-10.js
@@ -8,17 +8,17 @@ description: >
step 2)
---*/
-var result = false;
-Object.defineProperty(Math, "prop", {
- get: function() {
- result = (this === Math);
- return {};
- },
- enumerable: true,
- configurable: true
-});
+ var result = false;
+ Object.defineProperty(Math, "prop", {
+ get: function () {
+ result = (this === Math);
+ return {};
+ },
+ enumerable: true,
+ configurable: true
+ });
-var newObj = Object.create({}, Math);
+ var newObj = Object.create({}, Math);
assert(result, 'result !== true');
assert(newObj.hasOwnProperty("prop"), 'newObj.hasOwnProperty("prop") !== true');