Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106
Linux
Desktop
2 years ago
Test name Executions per second
undefined 6469754.0 Ops/sec
typeof 18331820.0 Ops/sec
in 18383452.0 Ops/sec
hasOwnProperty 16442927.0 Ops/sec
bool 18387168.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool