Run details:
Mozilla/5.0 (Linux; Android 7.0; LG-M400) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Mobile Safari/537.36
Chrome Mobile 87
Android 7.0
Mobile
3 years ago
Test name Executions per second
undefined 374205.2 Ops/sec
typeof 1102053.5 Ops/sec
in 1086180.2 Ops/sec
hasOwnProperty 998493.6 Ops/sec
bool 462770.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool