Features
-
js_of_ocaml (issue #2215): Open feature request for detecting missing JS runtime features (ES6 classes,
TextDecoder, optional chaining) and surfacing a meaningful error. Discussion points to Babel + core-js as the recommended downleveling path. -
js_of_ocaml (PR #2216): Open PR adding a
manual/browser-compat.wikichapter documenting how to downlevel jsoo output (ES2020) for older browsers using Babel, core-js, and esbuild. Includes an opt-in cram test gated behind@runtest-babel-downlevel.
Fixes
- js_of_ocaml (PR #2216): Corrects
ECMASCRIPT.md: async/await is ES2017, not ES2016; adds Promise and template literals (both ES2015) to the listed runtime features.