What will be printed to the console after executin the following code?

if(true) {
   var a = b = 3;
   b = 4;
}
console.log(a);
console.log(b);
Explanation
variable A does not depends of variable B and result of the code will be 3 and 4

Слідкуй за CodeGalaxy

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

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