metric152
metric152
Feb 23, 2017 · 1 min read

I was excited to see that .size is an option for maps but the setback is you have to use the map methods in order to have a correct size result. If you set a key/val directly on the object the size doesn’t update.

You have to go all in and not use the old ways which isn’t bad but something to point out.

    metric152

    Written by

    metric152

    #codesmith

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade