How is WebAssembly integrated into web applications?

How is WebAssembly integrated into web applications?

a) By embedding it directly in HTML
b) By importing it as a JavaScript module
c) By compiling it in the browser
d) By running it inside a web worker

Answer:

b) By importing it as a JavaScript module

Explanation:

WebAssembly modules can be imported and executed in a web application using JavaScript’s WebAssembly API.

Reference:

WebAssembly Quiz – MCQ – Multiple Choice Questions

Scroll to Top