What will be the result of the following code?

alert(!+{}[0]);
Explanation
{} = object
{}[0] = undefined
+{}[0] = NaN
!+{}[0] = true

@iliana000, we repeat questions intentionally. Soon there will be more questions, and functionality will train you on sub-topics, that you answered wrong before.

2016 Jan 20, 5:49:10 PM

@iliana000,@alexdykyi62, added new lines. Is it better now?

2016 Jan 20, 5:45:26 PM

I see this question for the second time while test. Oh, you must be out of questions?

2016 Jan 15, 7:25:34 AM

напишите нормальное объяснение, а не этот непереводимый набор символов в стиле 2 = 2+2 = 4+3 = 7

2016 Jan 15, 6:50:42 AM

WTF?

2016 Jan 14, 1:53:31 PM

Следи за CodeGalaxy

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

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