When to quote JavaScript array keys?

I have stumbled upon a question: when you should quote JavaScript associative array keys. From this article you will learn, when you should quote and when not.

What are associative arrays in JavaScript?

JavaScript has an associative array. The difference between it and associative arrays in other languages is that… it is not precisely an array. In…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store