Run details:
Mozilla/5.0 (Linux; Android 10; SM-G965U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
undefined 2082689.4 Ops/sec
typeof 6003268.0 Ops/sec
in 6025643.5 Ops/sec
hasOwnProperty 5530192.5 Ops/sec
bool 6022829.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool