samedi 2 mars 2019

Javascript if-statement grouping [on hold]

Is there a way (without multiple if statements) to test if either one of two conditions applies PLUS a third one?

Aka something like

if((a || b) && c){
    do something
}

I couldn't find anything about this topic, so I thought I'd ask here, thanks in advance!

Aucun commentaire:

Enregistrer un commentaire