Array.from()
Widely available since 2019-03-20
The Array.from()
and typed array .from()
static methods copy items from an iterable or array-like object to make a new array.
Learn more
Specifications
- ECMAScript® 2026 Language Specification (#sec-array.from), from TC39 (Ecma International).
- ECMAScript® 2026 Language Specification (#sec-%25typedarray%25.of), from TC39 (Ecma International).
Browser support
- Chrome 45 Released on 2015-09-01
- Chrome Android 45 Released on 2015-09-01
- Edge 12 Released on 2015-07-29
- Firefox 38 Released on 2015-05-12
- Firefox for Android 38 Released on 2015-05-12
- Safari 10 Released on 2016-09-20
- Safari on iOS 10 Released on 2016-09-13
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist