Run details:
Mozilla/5.0 (Linux; Android 9; Mi A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.62 Mobile Safari/537.36
Chrome Mobile 78
Android
Mobile
3 years ago
Test name Executions per second
undefined 673470.8 Ops/sec
typeof 1891212.0 Ops/sec
in 1913470.0 Ops/sec
hasOwnProperty 1683106.0 Ops/sec
bool 1910410.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool