What will be the result of comparing two JavaScript objects?

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

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
JavaScript quizzes
Sign Up Now
or Subscribe for future quizzes