It depends on the language.  TypeScript is basically JavaScript with added bits.  Unity compiles to JavaScript, but it does so through a crazy chain of C# -&gt; CIL (via Mono) -&gt; C++ (via il2cpp) -&gt; JavaScript (via Emscripten).  And then remember that your browser then converts that JavaScript to assembly.  Holy convoluted toolchain, batman.