by thayne · 4y ago · 0 comments
Also Java has like ten different implementations of Map<K,V> depending on various use cases.
> Javascript: Object
And in javascript, if you use an Object as a map, the keys do have to be strings (if they aren't already, they are converted into strings).