Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 YaBrowser/21.11.3.954 (beta) Yowser/2.5 Safari/537.36
Yandex Browser 21
Linux
Desktop
2 years ago
Test name Executions per second
undefined 3771308.8 Ops/sec
typeof 12587965.0 Ops/sec
in 12442321.0 Ops/sec
hasOwnProperty 11111065.0 Ops/sec
bool 12550245.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;