1

Do objects in javascript use a Hash Map? For example when I use

var a = {};
a["apple"] = "red";
a["banana"] = "yellow";
...
...

How does javascript assign the keys "apple" and "banana" to a position at the memory?

Daniel Oliveira
  • 1,280
  • 14
  • 36
  • 4
    Possible duplicate of [Under the hood, are Javascript objects hash tables?](http://stackoverflow.com/questions/10256974/under-the-hood-are-javascript-objects-hash-tables) – Rax Weber Oct 03 '16 at 01:44
  • 3
    Afaik that's not specified by the ECMAScript standard and therefore browser dependant. What's your actual question? Why did you ask *this* question? – Thomas Oct 03 '16 at 01:45

0 Answers0