What messages will display the following code:
 alert("1"); js: { alert("2"); break js; alert("3"); } alert("4"); 
Explanation
With a label reference, the break statement can be used to jump out of any code block, that means code in { }. Our example of code: js: { ..some code break js; // label js }

Слідкуй за CodeGalaxy

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

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