Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.114 YaBrowser/22.9.1.1110 Yowser/2.5 Safari/537.36
Yandex Browser 22
Linux
Desktop
one year ago
Test name Executions per second
undefined 3439726.0 Ops/sec
typeof 11026148.0 Ops/sec
in 12282616.0 Ops/sec
hasOwnProperty 11144105.0 Ops/sec
bool 11240428.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool