Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
Chrome 64
Linux
Other
2024 years ago
Test name Executions per second
undefined 4052758.0 Ops/sec
typeof 12612100.0 Ops/sec
in 11742740.0 Ops/sec
hasOwnProperty 11415400.0 Ops/sec
bool 12819690.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool