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 3785458.5 Ops/sec
typeof 12827943.0 Ops/sec
in 12717322.0 Ops/sec
hasOwnProperty 11462441.0 Ops/sec
bool 12730985.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool


;