Run details:
Mozilla/5.0 (Linux; Android 7.1.2; Redmi 4X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.110 Mobile Safari/537.36
Chrome Mobile 86
Android 7.1.2
Mobile
3 years ago
Test name Executions per second
undefined 356065.2 Ops/sec
typeof 1014524.0 Ops/sec
in 1022696.0 Ops/sec
hasOwnProperty 921176.4 Ops/sec
bool 1017172.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool