var foo = "bar"; if (foo) { console.log(foo); } var foo = "bar"; if (!!foo) { console.log(foo); }
Which one should I use?
Performance wise both ways look same.
http://ift.tt/2qgh7DM
Aucun commentaire:
Enregistrer un commentaire