Javascript if (Math.random>0.5) statement never returns true
if(Math.random>0.5){console.log('a')} else {console.log('b')}
always logs 'b'
Aucun commentaire:
Enregistrer un commentaire