JavaScript js 判断对象是否存在 if (typeof myFullpage == “undefined”) { }else{ myFullpage.destroy(); } 2019年10月5日