Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/73.0.3683.86 Chrome/73.0.3683.86 Safari/537.36
Chromium 73
Ubuntu
Desktop
5 years ago
Test name Executions per second
undefined 2740485.8 Ops/sec
typeof 8897812.0 Ops/sec
in 7369454.5 Ops/sec
hasOwnProperty 7314317.0 Ops/sec
bool 8964919.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool