Rick Waldron (2014-02-21T17:26:02.000Z)
domenic at domenicdenicola.com (2014-02-24T21:28:48.233Z)
On Fri, Feb 21, 2014 at 7:55 AM, Nick Krempel <ndkrempel at google.com> wrote: > Also only works when you're switching on something with a meaningful > conversion to string. On 20 Feb 2014, at 21:20, Eric Elliott <eric at ericleads.com> wrote: > Object literals are already a great alternative to switch in JS: Right, this wouldn't work if the "case" wanted object references, but it would work nicely with Symbols.