Path: blob/main/files/en-us/webassembly/reference/variables/global_set/index.md
6529 views
------{{WebAssemblySidebar}}
The global.set instruction sets the values of a global variable.
{{EmbedInteractiveExample("pages/wat/global_set.html", "tabbed-taller")}}
Syntax
| Instruction | Binary opcode |
|---|---|
global.set | 0x24 |