Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0
Firefox 82
Ubuntu
Desktop
4 years ago
Test name Executions per second
instanceof 67660296.0 Ops/sec
typeof 149529280.0 Ops/sec
typeof no function 92980464.0 Ops/sec
typeof and test attribute 93220136.0 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute


;