📅  最后修改于: 2022-03-11 15:01:25.207000             🧑  作者: Mango
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
}