re: Maps in JavaScript VIEW POST

FULL DISCUSSION
 

You wrote

Calling add() more than once with the same key won't add multiple key-value pairs.

I believe you may have meant set()

 

Yeah, it should be set() method for maps :) I updated the post.

code of conduct - report abuse