In this question, there is a discussion on the concepts of associated array and object in javaScript which I got a bit confused.
In
There are no associative-arrays in JavaScript. Everything is object.
Certainly they are similar but associative-arrays in JavaScript are just objects.