summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/create/15.2.3.5-4-37.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-37.js')
-rw-r--r--test/built-ins/Object/create/15.2.3.5-4-37.js21
1 files changed, 12 insertions, 9 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-37.js b/test/built-ins/Object/create/15.2.3.5-4-37.js
index dcef0aea4..ba4098ae5 100644
--- a/test/built-ins/Object/create/15.2.3.5-4-37.js
+++ b/test/built-ins/Object/create/15.2.3.5-4-37.js
@@ -9,16 +9,19 @@ description: >
5.a)
---*/
- var props = new Error("test");
+var props = new Error("test");
- (Object.getOwnPropertyNames(props)).forEach(function(name){
- props[name] = {value:11, configurable:true}
- });
+(Object.getOwnPropertyNames(props)).forEach(function(name) {
+ props[name] = {
+ value: 11,
+ configurable: true
+ }
+});
- props.prop15_2_3_5_4_37 = {
- value: 12,
- enumerable: true
- };
- var newObj = Object.create({}, props);
+props.prop15_2_3_5_4_37 = {
+ value: 12,
+ enumerable: true
+};
+var newObj = Object.create({}, props);
assert(newObj.hasOwnProperty("prop15_2_3_5_4_37"), 'newObj.hasOwnProperty("prop15_2_3_5_4_37") !== true');