我认为这可能只是性能案例 - http://jsperf.com/comparing-underscore-js-isfunction-with-typeof-function/2
而且似乎typeof更快..所以我的问题是 - 哪个更适合使用?
typeof
javascript performance typeof underscore.js
javascript ×1
performance ×1
typeof ×1
underscore.js ×1