Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Chrome 68
Mac OS X 10.13.6
Desktop
6 years ago
Test name Executions per second
in – first element 9409523.0 Ops/sec
in – last element 9815980.0 Ops/sec
typeof – first element 8149814.0 Ops/sec
typeof – last element 10089922.0 Ops/sec
! – first element 10261187.0 Ops/sec
! – last element 10256468.0 Ops/sec
Script Preparation code:
Tests:
  • in – first element

  • in – last element

  • typeof – first element

  • typeof – last element

  • ! – first element

  • ! – last element


;