Create an object from array. Object's keys will made from Array's values. Use this to filter
an array, keep only unique values, and maybe make something of them. This might be faster than using
[...new Set(...arr)], because it loops only once.
array values will be used, keys ignored
any value to assign to each new item in object. Default value = true.
Generated using TypeDoc