A very simple example of WASM
Usefull links:
How to download emscripten:
https://emscripten.org/docs/getting_started/downloads.html
Functions of preamble:
https://emscripten.org/docs/api_reference/preamble.js.html
Embind:
https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html
Debugging: