How does WebAssembly run in the browser?

How does WebAssembly run in the browser?

a) It runs directly on the CPU
b) It runs in a virtual machine
c) It is interpreted by the browser’s JavaScript engine
d) It runs as part of the DOM

Answer:

b) It runs in a virtual machine

Explanation:

WebAssembly runs inside a virtual machine embedded in modern web browsers, providing a secure and performant execution environment.

Reference:

WebAssembly Quiz – MCQ – Multiple Choice Questions

Scroll to Top