Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Ubuntu
Desktop
4 years ago
Test name Executions per second
undefined 71895504.0 Ops/sec
typeof 174302528.0 Ops/sec
in 102420920.0 Ops/sec
hasOwnProperty 120211880.0 Ops/sec
bool 170153680.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool