I decaffeinated an old project recently and I noticed that I got a lot of if clauses where the expressions are wrapped in "extra" brackets:
if ((data == null) || (data === ""))
Is there any case where the wrapping is required? Imho it is the same as:
if (data == null || data === "")
Aucun commentaire:
Enregistrer un commentaire