JavaScript Map Objects

Creating a Map from an Array: