我正在检查对象中的值,一旦值不存在,我只想继续其余的功能..
这个怎么做..?
这是我的样本:
var obj = {"name":""}
if(!obj.name){
"continue further" //how to make it to continue apart from else part?
}else{
console.log("name is there");
}
//go for stuff to work always. name is not an issue;