WebAssembly aims to be the bytecode for the web. Here is how a developer would use WebAssembly in the future:
Develop an app (write the source code in any language that can be compiled to WebAssembly).
Use a compiler to turn the source code into WebAssembly bytecode (and potentially into assembly-code if required).
Load the bytecode in a browser and run it.