Run details:
Mozilla/5.0 (Linux; Android 12; vivo 1910) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
undefined 1035735.2 Ops/sec
typeof 716376.9 Ops/sec
in 720683.8 Ops/sec
hasOwnProperty 647380.3 Ops/sec
bool 860646.1 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool