why null==undefined is true in javascript

If we alert(null==undefined) it outputs to true.

What is the logical reason for this.

Is this something that is hard coded in javascript or is there an explanation for this.

46 thoughts on “why null==undefined is true in javascript”

Leave a Comment