Backends: C, JavaScript, WebAssembly, Native

C (default) Main, most complete -b js / -b js_node / -b js_browser Usable, less complete

-b wasm (direct) or via C + emscripten (-os wasm32_emscripten)

Native (x64/arm64 machine code, no C compiler) Go (via the v2go/vgo tool, community)

JS-specific code: file.js.v files, JS. declarations (fn JS.alert(msg string)), and the js.dom module.

v -b js_node run app.v
v -b js_browser -o app.js app.v
v -b wasm -o app.wasm app.v
v -os wasm32_emscripten -o app.html game.v     # gg/sokol games on the web
v -b native -o hello hello.v