Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79
Windows 7
Desktop
4 years ago
Test name Executions per second
instanceof 93141536.0 Ops/sec
typeof 209299696.0 Ops/sec
typeof no function 133527552.0 Ops/sec
typeof and test attribute 134774272.0 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute


;