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
4 years ago
Test name Executions per second
undefined 356065.2 Ops/sec
typeof 1014524.2 Ops/sec
in 1022696.2 Ops/sec
hasOwnProperty 921176.4 Ops/sec
bool 1017172.1 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool