What is difference between creating object using Object.create() and Object.assign()? : <p>Considering following code:</p>

<pre><code>var obj1 = Object.create({}, {myProp: {value: 1}});
var obj2 = Object.assign({}, {myProp: 1});
</code></pre>

<p>Is there any difference between <code>obj1</code> and <code>obj2</code> since each object has been created in a different way?</p>
