DEV Community

Discussion on: Implementation of ES6 Map() function

Collapse
 
drmandible profile image
DrMandible

Short and sweet but I think you forgot: var arrayMap = new Map();

Collapse
 
prashantandani profile image
Prashant Andani

Thanks!
The idea here is to implement a Map() alternative. Just to understand how it can be implemented.

Collapse
 
drmandible profile image
DrMandible

Ohhh I see now. That makes more sense. Thanks for clarifying!

I know it's a tough balance to make a post concise while still being clear enough to a wide range of audiences. I'm still learning but probably a more seasoned dev knew what you were doing.