Run details:
Mozilla/5.0 (Linux; Android 10; M2010J19CG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36
Chrome Mobile 90
Android
Mobile
2 years ago
Test name Executions per second
undefined 1085633.0 Ops/sec
typeof 3064894.0 Ops/sec
in 3056208.0 Ops/sec
hasOwnProperty 2814605.0 Ops/sec
bool 3043162.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool