Extended constant expressions (WebAssembly)Baseline · Widely available
The i32.add, i32.sub, i32.mul, i64.add, i64.sub, and i64.mul operations extend constant expressions to include arithmetic.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Mar 5, 2024. Widely available since Sep 5, 2026.
Browser support
DesktopChrome
1–113Not supported
114+Supportedsince May 30, 2023
Current: 155Edge
12–113Not supported
114+Supportedsince Jun 2, 2023
Current: 154Firefox
1–111Not supported
112+Supportedsince Apr 11, 2023
Current: 157Safari
1–17.3Not supported
17.4+Supportedsince Mar 5, 2024
Current: 27MobileChrome Android
18–113Not supported
114+Supportedsince May 30, 2023
Current: 155Firefox Android
4–111Not supported
112+Supportedsince Apr 11, 2023
Current: 157Safari iOS
1–17.3Not supported
17.4+Supportedsince Mar 5, 2024
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.