var myArra = [null,undefined,];
console.log(myArra == ',,');
Let’s look one more scenario
var myArra = ;
console.log(myArra == ! myArra);
Above statement also logs ‘true’ in my firebug console. Anyone have any idea on this?? Can anyone explain above both scenario??