JavaScript Introducing ES2015 Objects and New Collection Types Map

Leo Marco Corpuz
Leo Marco Corpuz
13,605 Points

I thought the values are set as strings

In the video, the key property is set as a string?

1 Answer

Steven Parker
Steven Parker
140,501 Points

The keys are strings, the values can be a variety of things. In the video example, the values are all objects.