Maps in Javascript (Map Object)

Опубликовано: 19 Ноябрь 2017
на канале: dcode
28,602
428

Today I'm excited to talk about the built-in Map object in Javascript - Maps allow you to easily store key-value pairs in a clean and simple way rather than using traditional Javascript objects.

In this video we make a Map that keeps track of how many animals are inside a zoo and then loop through it to print out the data, hope you enjoy.

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!