JavaScript Introducing ES2015 Objects and New Collection Types Map

Leo Marco Corpuz
Leo Marco Corpuz
16,021 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
149,196 Points

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