console.log([2] == 2) //returns true
console.log([2,3] == 2) //returns false
console.log([2] === 2) //returns false
console.log([2,3] === 2) //returns false
Can someone tell me what is happening behind the scenes in the above lines of code,how JavaScript Engine is performing these tasks