Run details:
Mozilla/5.0 (Linux; Android 10; MI 9) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36
Chrome Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
undefined 3166690.8 Ops/sec
typeof 9388995.0 Ops/sec
in 9449173.0 Ops/sec
hasOwnProperty 8414754.0 Ops/sec
bool 9284533.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool