Converts a single or multiple values into something iterable that can be iterated over with for..of
for..of
A single value or something iterable like Array or Set
An iterable (Array or Set)
utilIterable([1, 2, 3]) // returns [1, 2, 3]utilIterable(new Set([1])) // returns Set([1])utilIterable(5) // returns [5] Copy
utilIterable([1, 2, 3]) // returns [1, 2, 3]utilIterable(new Set([1])) // returns Set([1])utilIterable(5) // returns [5]
Converts a single or multiple values into something iterable that can be iterated over with
for..of