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