title: Why do/did people say JavaScript doesn't have associative arrays?
body: <p>A simple internet search of "no associative arrays in javascript" will turn up many results of people saying this, some of them SO answers. They'll say things like "JavaScript doesn't have associative arrays, it has objects." Reading the <a href="https://en.wikipedia.org/wiki/Associative_array" rel="nofollow noreferrer">Wikipedia article</a> on associative arrays, it would appear to me that JS objects <em>are</em> associative arrays. Is this just an old school of thought that the majority doesn't believe anymore? Is it a common misconception? Or are they correct?</p>
  
  <p>Edit: I think the comments here better answer this question than the answers of the questions this has been marked a duplicate of.</p>