function funExists(funName){
try{
if(typeof eval(funName)=="undefined"){return false;}
if(typeof eval(funName)=="function"){return true;}
}catch(e){
return false;
}
}
详细解决方案
js判断页面中的某个函数是否存在
热度:45 发布时间:2024-01-22 03:10:24.0
相关解决方案