make_map

Create Map from a Collection of values and keys.

github

Arguments

NameDescriptionType
valuesValues in the new Map.Collection
keysKeys used in new Map to access values.strings

Example

values = ['sherlock', 'john', 'james']
keys = ['first', 'second', 'third']

make_map(values, keys)
// { "first": "sherlock",
//   "second": "john",
//   "third": "james" }