日期:2014-05-16 浏览次数:20338 次
function fnExist(fnName) { return fnName in this && typeof (eval(fnName)) == "function"; }
?
转自:http://qitonghui.iteye.com/blog/1063460