Run details:
Mozilla/5.0 (Linux; Android 8.0.0; WAS-LX2J) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Mobile Safari/537.36
Chrome Mobile 89
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
undefined 469999.0 Ops/sec
typeof 1335654.9 Ops/sec
in 1343280.5 Ops/sec
hasOwnProperty 1209455.5 Ops/sec
bool 1321779.2 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool