Run details:
Mozilla/5.0 (Linux; Android 11; SM-G973F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.87 Mobile Safari/537.36
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
instanceof 3769477.5 Ops/sec
typeof 10725054.0 Ops/sec
typeof no function 5334849.5 Ops/sec
typeof and test attribute 5143698.5 Ops/sec
Script Preparation code:
Tests:
  • instanceof

  • typeof

  • typeof no function

  • typeof and test attribute


;