Platforms
Linux, dart, Windows, Web, macOS, iOS, Android
Description
QuickJS natively supports this via JS_EVAL_FLAG_COMPILE_ONLY + JS_WriteObject (compile to bytecode) and JS_ReadObject + JS_EvalFunction (load and execute bytecode). The quickjs.h header bundled with fjs already declares all of these, but they aren't exposed through the C interface layer or the Dart API.
Why
I'm building a plugin system where JS plugins run in sandboxed QuickJS engines via fjs. For a plugin marketplace with paid plugins, I need to distribute pre-compiled QuickJS bytecode instead of raw JS source - so the original source code never reaches the client device.