I found two of the following operations working same
var x = someValue ? someValue : 1
var x = someValue || 1
what would be the best practice and why ?
Aucun commentaire:
Enregistrer un commentaire