table.get
table.get table/reference operation.
reference-types0x25
Syntax
table.get
Stack Effect
table operands -> table result/stateOpcode
- Hex
0x25- Decimal
37- Bytes
[0x25]- Encoding
0x25 <tableidx:u32-leb128>- Immediates
tableidx:u32-leb128
- Category
- table
- Proposal
- reference-types
Browser Support
Feature-detect runtime support before executing examples.
Validation Rules
- Operands and result types must match the instruction signature.
- The instruction must appear in a valid structured control context.
Common Mistakes
- Using the instruction with the wrong operand type.
- Forgetting that WAT validation is stack-typed.
(func $example
;; table.get example
)