Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0
Firefox 98
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
isFunction 14030681.0 Ops/sec
typeof function 802895936.0 Ops/sec
instanceof 108543544.0 Ops/sec
wrapped typeof function (like optimized _.isFunction) 1005772096.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • isFunction

  • typeof function

  • instanceof

  • wrapped typeof function (like optimized _.isFunction)