title: Why {} !== {} in Javascript
body: <p>I was going through Map Documentation on <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map" rel="nofollow noreferrer">MDN</a>. In Examples, under Using Map Object, Object Literal - <code>{}</code> is used as key to store value. But, the value in Map can't be retrieved using Object Literal.</p>
  
  <p>I verified this in Browser Console and found that Object Literal is not equal to itself. Also, the Function Expression - <code>function() {}</code> is not equal to itself.</p>
  
  <p>I couldn't find the reason behind this. If required, I can ask a different question for Function Expression.</p>