Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36
Chrome 101
Linux
Desktop
one year ago
Test name Executions per second
undefined 7374507.0 Ops/sec
typeof 21491400.0 Ops/sec
in 21384360.0 Ops/sec
hasOwnProperty 19789970.0 Ops/sec
bool 21566330.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool