Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 YaBrowser/20.7.3.100 Yowser/2.5 Safari/537.36
Yandex Browser 20
Windows
Desktop
4 years ago
Test name Executions per second
undefined 3364062.0 Ops/sec
typeof 8435076.0 Ops/sec
in 9453535.0 Ops/sec
hasOwnProperty 7608345.5 Ops/sec
bool 8686555.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;