判断回调函数是否存在

if(!callback || typeof callback == 'undefined' || callback == undefined)
posted @ 2017-03-25 14:01  huihui2014  阅读(299)  评论(0)    收藏  举报