Run details:
Mozilla/5.0 (Linux; Android 9; SM-G390F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36
Chrome Mobile 74
Android
Mobile
3 years ago
Test name Executions per second
undefined 343983.4 Ops/sec
typeof 1151898.6 Ops/sec
in 1116804.9 Ops/sec
hasOwnProperty 1021900.9 Ops/sec
bool 1158343.2 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool