I was trying to insert some value into a map in my angular project. Map is initialized with below code:
filters: Map<string, string[]> = new Map();
But When I insert some value into this above map is behaving unusual.First Image with Map(1)
sometimes it is giving me the same Map with different value. Look
First image is showing Map(1)
and the second image is showing Map(2)
.
I need second type of map after inserting a value. Could anyone can help me out what is the difference between those twos? I am totally stuck for this. Badly need some help. Many Many thanks in advance.