diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-246.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-246.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-246.js b/test/built-ins/Object/create/15.2.3.5-4-246.js index 83543f250..bc93c97d2 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-246.js +++ b/test/built-ins/Object/create/15.2.3.5-4-246.js @@ -9,14 +9,14 @@ description: > (8.10.5 step 7.a) ---*/ - var strObj = new String("abc"); +var strObj = new String("abc"); - strObj.get = function () { - return "VerifyStringObject"; - }; +strObj.get = function() { + return "VerifyStringObject"; +}; - var newObj = Object.create({}, { - prop: strObj - }); +var newObj = Object.create({}, { + prop: strObj +}); assert.sameValue(newObj.prop, "VerifyStringObject", 'newObj.prop'); |