Web features explorer

Array.of()

Widely available
Tags: javascript Groups: JavaScript > Collections > Arrays JavaScript > Collections > Typed arrays

The Array.of() and typed array .of() static methods create new arrays from the values of any number of arguments. To learn more, see Array.of(), TypedArray.of() at MDN.

Compatibility