There is an input on the page:

<input type="text" onChange="alert(this.value+1);"/>
What will alert print out, if the element`s value is changed to 3?
Explanation
Type of input value is a string which is means this.value + 1 is concatenation and not adding.

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести