TypeScript配列Array.from
at

Array.from配列

Array.of

配列に似たオブジェクトまたはイテラブルから新しい配列を生成します。

문법

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