Perché stringa vuota avere lunghezza in javascript
Esempi di codice
0
0
javascript controllare se la stringa è vuota
var string = "not empty";
if(string == ""){
console.log("Please Add");
}
else{
console.log("You can pass"); // console will log this msg because our string is not empty
}