JavaScript Introducing ES2015 Objects and New Collection Types Map

Leo Marco Corpuz
Leo Marco Corpuz
17,060 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
152,708 Points

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