Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0
Firefox 84
Mac OS X 10.16
Desktop
3 years ago
Test name Executions per second
instanceof 72364656.0 Ops/sec
typeof 416521696.0 Ops/sec
typeof no function 375195072.0 Ops/sec
typeof and test attribute 375594464.0 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute


;