Javascript code:
var empty = ''; console.warn( typeof(empty && null) ); // 'string'
Why does the statement "empty && null" return the empty string? "empty" should be false.
Aucun commentaire:
Enregistrer un commentaire