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 3470489.2 Ops/sec
typeof 11443479.0 Ops/sec
in 10809585.0 Ops/sec
hasOwnProperty 10140773.0 Ops/sec
bool 12575014.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;