Eric Elliott (2014-02-21T18:47:40.000Z)
domenic at domenicdenicola.com (2014-02-24T21:28:26.547Z)
In practice, I find that everything converts nicely to a string when you precede it with a ternary assignment. I also find that when you do that, it's pretty trivial to control what those strings are, which makes `hasOwnProperty` superfluous. I haven't used a switch in JavaScript for quite a few years now, and I don't miss it at all.