Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125
Linux
Desktop
6 months ago
Test name Executions per second
undefined 7114266.5 Ops/sec
typeof 17857364.0 Ops/sec
in 17526924.0 Ops/sec
hasOwnProperty 16241181.0 Ops/sec
bool 15815370.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool