Given an array of valid property identifiers and an array of values, return an object associating the properties to the values
zipObject(['a', 'b', 'c'], [1, 2]); // {a: 1, b: 2, c: undefined}
zipObject(['a', 'b'], [1, 2, 3]); // {a: 1, b: 2}
Generated using TypeDoc
Given an array of valid property identifiers and an array of values, return an object associating the properties to the values
Example
Example