Run details:
Mozilla/5.0 (Linux; Android 10; Infinix X604) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.79 Mobile Safari/537.36
Chrome Mobile 88
Android
Mobile
3 years ago
Test name Executions per second
undefined 525064.5 Ops/sec
typeof 1393464.6 Ops/sec
in 1508622.0 Ops/sec
hasOwnProperty 1368111.9 Ops/sec
bool 1495956.6 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool