Yes, in pretty much the same way:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map
There's more on that link, like Setc and WeakMap, so check them out, see what
works best for your use case.
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gis
Hello All,
I am new to nodejs/js, I have some query regarding the implementation of
Map [Key-Value pair]
Like in java Maps, we can have custom object as key.
Class Test {
int i;
}
public static void main(String args[]) {
Test obj = new Test();
Map map= new HashMap();
map.put(o