dimanche 1 juillet 2018

Javascript "if" with "or" How check which will exec

if(a != 1 || b != 2){console.log(this, 'is required');}

Can we get answer 'a is required' or 'b is required'?

Aucun commentaire:

Enregistrer un commentaire