summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/create/15.2.3.5-4-26.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-26.js')
-rw-r--r--test/built-ins/Object/create/15.2.3.5-4-26.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-26.js b/test/built-ins/Object/create/15.2.3.5-4-26.js
index 90605aece..d7f814f30 100644
--- a/test/built-ins/Object/create/15.2.3.5-4-26.js
+++ b/test/built-ins/Object/create/15.2.3.5-4-26.js
@@ -8,11 +8,11 @@ description: >
property of 'Properties' without a get function (15.2.3.7 step 5.a)
---*/
- var props = {};
- Object.defineProperty(props, "prop", {
- set: function () { },
- enumerable: true
- });
+var props = {};
+Object.defineProperty(props, "prop", {
+ set: function() {},
+ enumerable: true
+});
assert.throws(TypeError, function() {
- Object.create({}, props);
+ Object.create({}, props);
});