What will be the result of the code?

var a = isNaN("2014");
alert(a);
Explanation
JavaScript automatically interprets "2014" value from string to number and returns false, as it is number.

Следи за CodeGalaxy

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

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