Object.prototype.toString.call(f) === '[object Function]';
其他类型也可以这样进行判断
posted on 2018-07-02 14:55 道法自然-法力无边 阅读(220) 评论(0) 收藏 举报