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.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты