Path: blob/main/files/en-us/webassembly/reference/variables/local_tee/index.md
6532 views
------{{WebAssemblySidebar}}
The local.tee instruction sets the value of a local variable and loads the value onto the stack.
The instruction is named after the T-splitter used in plumbing.
{{EmbedInteractiveExample("pages/wat/local_tee.html", "tabbed-taller")}}
Syntax
| Instruction | Binary opcode |
|---|---|
local.tee | 0x22 |