I want to know the difference between maps and dictionaries. Previously, I used dictionaries but it didn't give expected results and is very difficult. So I switched to maps, then the corresponding operations become easier.
Asked
Active
Viewed 13 times
0
-
Is this question asked in context of a specific programming language or it's about a common concept of map and dictionary? – Michael Rovinsky May 11 '21 at 08:23
-
Yes it is specific to javascript – Thanmayee Tumuluri May 18 '21 at 13:08
-
In JS terminology, there are no 'dictionaries' but objects. Here is an answer: https://stackoverflow.com/questions/18541940/map-vs-object-in-javascript. – Michael Rovinsky May 18 '21 at 13:46
-
Does this answer your question? [Map vs Object in JavaScript](https://stackoverflow.com/questions/18541940/map-vs-object-in-javascript) – Michael Rovinsky May 18 '21 at 13:46