कैसे की जाँच करने के लिए है शून्य या खाली में टाइपप्रति
if(typeof propertyValue!='undefined' && propertyValue){
//execute code here
}
जावास्क्रिप्ट अगर जाँच स्ट्रिंग खाली है
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
}