Run details:
Mozilla/5.0 (Linux; Android 10; Pixel 2 XL) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.93 Mobile Safari/537.36
Chrome Mobile 79
Android
Mobile
4 years ago
Test name Executions per second
undefined 1664973.9 Ops/sec
typeof 4836425.5 Ops/sec
in 4849018.5 Ops/sec
hasOwnProperty 4325155.0 Ops/sec
bool 4811712.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;