Array.from()
Widely availableThe Array.from()
and typed array .from()
static methods copy items from an iterable or array-like object to make a new array.
The Array.from()
and typed array .from()
static methods copy items from an iterable or array-like object to make a new array.