Array.fromAsync()
Newly available since 2024-01-25
The Array.fromAsync()
static method copies items from an async iterable object to make a new array.
Learn more
Specifications
- ES Array.fromAsync (#sec-array.fromAsync), from TC39 (Ecma International).
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
Developer signals
- State of JS 2024: reading_list/reading_list question
- State of JS 2024: features/array_features question
Usage (according to Chrome Platform Status)
~0.427% of page loads. More data at chromestatus.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist