日期:2014-05-16 浏览次数:20405 次
//instanceof & typeof function fnExist(fnName) { //return fnName in this && eval(fnName) instanceof Function; return fnName in this && typeof (eval(fnName)) == "function"; }