Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0
Firefox 104
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
instanceof 115187576.0 Ops/sec
typeof 836357632.0 Ops/sec
typeof no function 873033920.0 Ops/sec
typeof and test attribute 842442880.0 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute


;