diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-283.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-283.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-283.js b/test/built-ins/Object/create/15.2.3.5-4-283.js index 16bbd2655..17a6634c2 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-283.js +++ b/test/built-ins/Object/create/15.2.3.5-4-283.js @@ -9,19 +9,19 @@ description: > (8.10.5 step 8.a) ---*/ - var numObj = new Number(5); - var data = "data"; - numObj.set = function (value) { - data = value; - }; +var numObj = new Number(5); +var data = "data"; +numObj.set = function(value) { + data = value; +}; - var newObj = Object.create({}, { - prop: numObj - }); +var newObj = Object.create({}, { + prop: numObj +}); - var hasProperty = newObj.hasOwnProperty("prop"); +var hasProperty = newObj.hasOwnProperty("prop"); - newObj.prop = "overrideData"; +newObj.prop = "overrideData"; assert(hasProperty, 'hasProperty !== true'); assert.sameValue(data, "overrideData", 'data'); |