coderef

Array.fromAsync()Baseline · Widely available

The Array.fromAsync() static method copies items from an async iterable object to make a new array.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jan 25, 2024. Widely available since Jul 25, 2026.

Browser support

DesktopChrome
1–120Not supported
121+Supportedsince Jan 23, 2024
Current: 155
Edge
12–120Not supported
121+Supportedsince Jan 25, 2024
Current: 154
Firefox
1–114Not supported
115+Supportedsince Jul 4, 2023
Current: 157
Safari
1–16.3Not supported
16.4+Supportedsince Mar 27, 2023
Current: 27
MobileChrome Android
18–120Not supported
121+Supportedsince Jan 23, 2024
Current: 155
Firefox Android
4–114Not supported
115+Supportedsince Jul 4, 2023
Current: 157
Safari iOS
1–16.3Not supported
16.4+Supportedsince Mar 27, 2023
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: fromAsync.

Feature detection

JS · check before using
if ("fromAsync" in Array || ("prototype" in Array && "fromAsync" in Array.prototype)) {
  // Array.fromAsync is available
}

Documentation (MDN)

Specification