Run details:
Mozilla/5.0 (Linux; Android 10; ONEPLUS A6000) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36
Chrome Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
undefined 2172745.5 Ops/sec
typeof 6318502.5 Ops/sec
in 6297744.0 Ops/sec
hasOwnProperty 5572574.0 Ops/sec
bool 6271150.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool