398 B
398 B
title |
---|
Array from |
Array from
The 'Array.from()' method creates a new Array instance from an array-like or iterable object.
Syntax:
''' Array.from(arrayLike[, mapFn[, thisArg]]) '''
Example:
''' Array.from('foo'); // ["f", "o", "o"] '''