JavaScript's Object.create method <p>i have created an object as follows</p> <pre><code> var lassie = { name: 'Lassie', breed: 'Collie', speak: function () { return 'Woof! Woof!'; } }; </code></pre> <p>I create another object by using Object.create method of javascript as</p> <pre><code>var obj = Object.create(lassie); </code></pre> <p>now when i console <strong>obj</strong> it gives me a blank object. But when i console <strong>obj.speak()</strong> it gives me <strong>'Woof! Woof!'</strong> .</p> <p>can someone please explain why?</p>