Web features explorer

Array.of()

Widely available since 2019-03-20
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.

Learning resources on MDN

Browser support