In the right pane, double click on the ‘Allows you to run scripts, like JavaScript’ option. Since the browser can be running on any architecture, it is not possible for the browser to run WebAssembly directly on the underlying hardware. How to embed and execute JavaScript in HTML ? Whereby we have explicitly introduced an error by removing the double quotes from the string “Hello World!” while passing the same to the document.write() method: Save the file with name firstProgramWithError.html and open it in a browser. Invoke the above JavaScript in the below HTML using the src attribute of