Run details:
Mozilla/5.0 (Linux; Android 9; SM-G9550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
4 years ago
Test name Executions per second
undefined 1520708.0 Ops/sec
typeof 4410372.5 Ops/sec
in 4386187.0 Ops/sec
hasOwnProperty 3801213.0 Ops/sec
bool 4227901.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool