Run details:
Mozilla/5.0 (iPad; CPU OS 14_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/86.0.4240.93 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 86
iOS 14.8
Tablet
3 years ago
Test name Executions per second
instanceof 5963921.0 Ops/sec
typeof 14543483.0 Ops/sec
typeof no function 7544415.5 Ops/sec
typeof and test attribute 7582929.0 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute


;