Run details:
Mozilla/5.0 (Linux; Android 9; Nokia 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.92 Mobile Safari/537.36
Chrome Mobile 77
Android
Mobile
5 years ago
Test name Executions per second
undefined 705479.1 Ops/sec
typeof 1984329.5 Ops/sec
in 1987776.8 Ops/sec
hasOwnProperty 1782195.4 Ops/sec
bool 2004229.2 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool