🏠 New in High Baseline Support: Array.of()

March 20, 2019

caniuse · mdn · [spec]([‘https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.of’, ‘https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.of’])

The Array.of() and typed array .of() static methods create new arrays from the values of any number of arguments.

Source features