Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.77 YaBrowser/20.11.0.918 Yowser/2.5 Safari/537.36
Yandex Browser 20
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
undefined 3681199.5 Ops/sec
typeof 11195062.0 Ops/sec
in 11024062.0 Ops/sec
hasOwnProperty 9744751.0 Ops/sec
bool 10767589.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;