Reference types (WebAssembly)Baseline · Widely available
The externref type can be both a value type and a table element type, while funcref can be a value type.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Nov 19, 2021. Widely available since May 19, 2024.
Browser support
DesktopChrome
1–95Not supported
96+Supportedsince Nov 15, 2021
Current: 155Edge
12–95Not supported
96+Supportedsince Nov 19, 2021
Current: 154Firefox
1–78Not supported
79+Supportedsince Jul 28, 2020
Current: 157Safari
1–15Not supported
15.1+Supportedsince Oct 25, 2021
Current: 27MobileChrome Android
18–95Not supported
96+Supportedsince Nov 15, 2021
Current: 155Firefox Android
4–68Not supported
79+Supportedsince Jul 28, 2020
Current: 157Safari iOS
1–15Not supported
15.1+Supportedsince Oct 25, 2021
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN — see the links below.
Feature detection
There’s no simple runtime check for this feature; rely on the support table and test in your target browsers.