Array.fromAsync()
Newly Available (since 2024-01-25)
Expected to be Widely Available on 2026-07-25
The Array.fromAsync() static method copies items from an async iterable object to make a new array.
Browser support
- Chrome 121 Released on 2024-01-23
- Chrome Android 121 Released on 2024-01-23
- Edge 121 Released on 2024-01-25
- Firefox 115 Released on 2023-07-04
- Firefox for Android 115 Released on 2023-07-04
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27
MDN documentation
Specifications
- ECMAScript® 2027 Language Specification (#sec-array.fromasync), from TC39 (Ecma International).
Usage (according to Chrome Platform Status)
~1.460% of page loads. More data at chromestatus.com.View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist