Run details:
Mozilla/5.0 (Linux; Android 9; SM-G955U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36
Chrome Mobile 73
Android
Mobile
5 years ago
Test name Executions per second
undefined 1297183.2 Ops/sec
typeof 3788952.5 Ops/sec
in 3474425.0 Ops/sec
hasOwnProperty 3386100.8 Ops/sec
bool 3794866.8 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool