Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
Chrome 86
Linux
Desktop
3 years ago
Test name Executions per second
undefined 4291012.5 Ops/sec
typeof 12114664.0 Ops/sec
in 8757604.0 Ops/sec
hasOwnProperty 7468818.5 Ops/sec
truthy 7848708.5 Ops/sec
local undef 4838602.0 Ops/sec
Script Preparation code:
Tests:
  • undefined

  • typeof

  • in

  • hasOwnProperty

  • truthy

  • local undef


;