vendredi 19 août 2016

What's the most efficient way to write an IF statement in JavaScript?

Assuming you have code like:

var hello = 'hello';
if ( hello !== 'not hello' ) {
    // do something
}

How could this statement be written more effectively?

Aucun commentaire:

Enregistrer un commentaire