TypeScriptArrayArray.from
at

Array.fromArray

Array.of

Creates a new Array instance from an array-like or iterable object.

문법

Array.from(arrayLike, mapFn?): T[]