https://docs.vultr.com/javascr....ipt/standard-library


In JavaScript, the Array.from() method is used to create a new array from an array-like or iterable object. This method can also accept a map function and a thisArg to transform the elements as they are added to the new array.

JavaScript Array from() - Convert Array-Like Object | Vultr Docs
Favicon 
docs.vultr.com

JavaScript Array from() - Convert Array-Like Object | Vultr Docs