Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/68.0.3440.106 Chrome/68.0.3440.106 Safari/537.36
Chromium 68
Ubuntu
Desktop
6 years ago
Test name Executions per second
undefined 1344421.1 Ops/sec
typeof 5218221.5 Ops/sec
in 4797317.5 Ops/sec
hasOwnProperty 4700567.5 Ops/sec
bool 5250837.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • bool