Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Linux
Desktop
6 months ago
Test name Executions per second
undefined 9117480.0 Ops/sec
typeof 23528150.0 Ops/sec
in 23687086.0 Ops/sec
hasOwnProperty 20774578.0 Ops/sec
bool 23202732.0 Ops/sec
hasOwn 8064802.5 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool

  • hasOwn