Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72
Mac OS X 10.15
Desktop
4 years ago
Test name Executions per second
undefined 156354160.0 Ops/sec
typeof 302328288.0 Ops/sec
in 220470832.0 Ops/sec
hasOwnProperty 225066192.0 Ops/sec
bool 288957312.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool