Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:58.0) Gecko/20100101 Firefox/58.0
Firefox 58
Mac OS X 10.12
Other
2025 years ago
Test name Executions per second
undefined 242631536.0 Ops/sec
typeof 420687712.0 Ops/sec
in 315360320.0 Ops/sec
hasOwnProperty 320550592.0 Ops/sec
bool 459140288.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool