Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:69.0) Gecko/20100101 Firefox/69.0
Firefox 69
Mac OS X 10.15
Desktop
5 years ago
Test name Executions per second
Switch 39179.0 Ops/sec
Object Literal 38795.9 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;