if-statement
vendredi 14 juin 2019
Please can somebody explain this short and sweet javascript code
var x=1 if(x){ x=0; } if(x){ x=1 }; alert(x);
Can't get my head around why is it 0.
Aucun commentaire:
Enregistrer un commentaire
‹
›
Accueil
Afficher la version Web
Aucun commentaire:
Enregistrer un commentaire