Sorry for being the pedantic one, but the article early on states "without writing a single line of JavaScript" and then, in the first code, after showing configuration files, one can read
<script type="module">
import init from "/wasm.js";
init();
</script>
So two lines of JavaScript ...