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.0 Ops/sec
typeof 3788953.0 Ops/sec
in 3474425.0 Ops/sec
hasOwnProperty 3386101.0 Ops/sec
bool 3794867.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool