TypeScriptArrayArray.of

Creates a new Array instance with a variable number of arguments.

문법

Array.of(...items: T[]): T[]