lundi 11 janvier 2021

JS IF Else And syntax

Have looked on google and w3schools, but can't find an solution to my question.

If I have two values A and B, how will the JS IF syntax then look like if:

  • Do condition if Only A is filled
  • Do condition if Only B is filled
  • Do condition if both A AND B is filled
  • Else do condition if non are filled

Aucun commentaire:

Enregistrer un commentaire