Run details:
Mozilla/5.0 (Linux; Android 9; moto x4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.117 Mobile Safari/537.36
Chrome Mobile 81
Android
Mobile
4 years ago
Test name Executions per second
undefined 683260.8 Ops/sec
typeof 1822671.8 Ops/sec
in 1831076.4 Ops/sec
hasOwnProperty 1657700.0 Ops/sec
bool 1833193.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool