Well, I want to know if my comparison can be improved, I want to leave the code shorter.
const teste = function(a){
if(a != null && a != undefined && a != ""){
console.log('e diferente')
}else{
console.log('o valor que vc passou e ${a}')
}
}
teste()
On the if(a != null && a != undefined && a != "")
part, how can I make it shorter?