Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122
Linux
Desktop
9 months ago
Test name Executions per second
undefined 9829638.0 Ops/sec
typeof 26174740.0 Ops/sec
in 26422022.0 Ops/sec
hasOwnProperty 24165764.0 Ops/sec
bool 26932864.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool