Run details:
Mozilla/5.0 (Linux; Android 10; EVR-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
Chrome Mobile 81
Android
Mobile
4 years ago
Test name Executions per second
undefined 1794572.5 Ops/sec
typeof 4405012.5 Ops/sec
in 4429190.5 Ops/sec
hasOwnProperty 4210076.5 Ops/sec
bool 4441118.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool