Skip to content
Advertisement

Compare 2 maps in JavaScript

i want to ask if it’s possible to do this:

JavaScript

I want to compare these 2 maps. I want to have a console.log() with the deferences of the maps.

Finally if the maps are the same and i add in map1 a new set

JavaScript

I want a log to tell me which is the new pair of kay-val

Thank you

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement