re: JavaScript comparison: Object vs Map VIEW POST

FULL DISCUSSION
 

Map object can have the key of any primitive type.

Map can have keys of literally any type, not restricted to primitives.

 

Thanks, Alekset for your feedback. I have updated the post based on your input.

code of conduct - report abuse