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
4 years ago
Test name Executions per second
undefined 673470.8 Ops/sec
typeof 1891212.1 Ops/sec
in 1913469.6 Ops/sec
hasOwnProperty 1683106.4 Ops/sec
bool 1910410.1 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool