Run details:
Mozilla/5.0 (Linux; Android 10; moto g(7) power) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
2 years ago
Test name Executions per second
undefined 1007148.8 Ops/sec
typeof 3220288.5 Ops/sec
in 3217670.2 Ops/sec
hasOwnProperty 2973556.0 Ops/sec
bool 3227009.8 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool