can-make-map
Convert a comma-separated string into a plain JavaScript object.
makeMap( string )
Parameters
- string
{String}
:A comma separated list of values
Returns
{Object}
:
A JavaScript object with the same keys as the passed-in comma-separated values
makeMap takes a comma-separated string (can-list, NodeList, etc.) and converts it to a JavaScript object