【发布时间】:2013-06-11 01:57:10
【问题描述】:
我认为这可能只是性能案例 - http://jsperf.com/comparing-underscore-js-isfunction-with-typeof-function/2
而且似乎typeof 更快.. 所以我的问题是 - 哪个更适合使用?
【问题讨论】:
-
在这里查看答案 - stackoverflow.com/questions/5999998/…
标签: javascript performance underscore.js typeof