Run details:
Mozilla/5.0 (Linux; Android 10; ONEPLUS A6000) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
2 years ago
Test name Executions per second
undefined 2184838.0 Ops/sec
typeof 6162866.0 Ops/sec
in 6219388.0 Ops/sec
hasOwnProperty 5505727.0 Ops/sec
bool 6271851.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool