Run details:
Mozilla/5.0 (Linux; Android 9; Mi A2 Lite Build/PKQ1.180917.001) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.71 Mobile Safari/537.36
Chrome Mobile 63
Android
Mobile
4 years ago
Test name Executions per second
undefined 531531.8 Ops/sec
typeof 1815495.6 Ops/sec
in 1671155.1 Ops/sec
hasOwnProperty 1673920.4 Ops/sec
bool 1806989.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool