Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2020.
The value property of the WebAssembly.Global object prototype returns the value contained inside the global variable.
A string indicating the value of the global.
The value property of a Global object instance allows you to directly get or set the global's value.
For the setter to work, the global must be mutable (the mutable option was set to true when it was declared). If this is not the case, a TypeError exception is thrown.
| WebAssembly JavaScript Interface # dom-global-value |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Apr 27, 2026 by MDN contributors.
Your blueprint for a better internet.
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.