Arrayfromparentchildren
Array.from is a static method of the JavaScript Array object. It creates a new Array instance from an array-like or iterable object. The method accepts three arguments: arrayLike, mapFn (optional), and thisArg (optional).
An array-like object is one that has a length property and indexed elements, such as the arguments
If a mapFn is supplied, it is invoked for each element of the input, with the signature
Common uses include converting NodeLists or arguments to real arrays, turning a string into an array of
Support for Array.from is widespread in modern JavaScript environments (ES6 and later). In environments lacking native