What will be the result of comparing two JavaScript objects?

new Boolean(true) == new Boolean(true)
Explanation
The result is false, because JavaScript will create two different objects.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback