JavaScriptCore on WebAssembly
JSC.js is a JavaScript engine that can run on top of your browser's JavaScript engine. It's based on the JavaScript engine (JavaScriptCore) of WebKit and compiled to wasm with emscripten. Therefore, if you're using Safari, you are running its JavaScript engine on top of itself.
The size of JSC.wasm is around 4MB (compressed js and mem file).
emsdk_env.bat
prep_env.bat
> gn gen out --args="target_os=\"wasm\""
> ninja -C out
Usually, you don't need this but with the test shell, you can easily debug and test JSC.js on windows when there's no good debugger for JSC.js on wasm.
vcvarsall.bat amd64
in terminal> gn gen out --args="target_os=\"win\""
> ninja -C out