WebAssembly variable instructions
WebAssembly variable getter and setter instructions.
Global
global.get-
Load the value of a global variable onto the stack.
global.set-
Set the value of a global variable.
WebAssembly variable getter and setter instructions.
global.getLoad the value of a global variable onto the stack.
global.setSet the value of a global variable.
This page was last modified on by MDN contributors.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.