Path: blob/main/files/en-us/webassembly/reference/control_flow/unreachable/index.md
6532 views
------{{WebAssemblySidebar}}
unreachable is used to denote a point in code that should not be reachable. unreachable is an unconditional trap: in the case where an unreachable is reached and executed, the instruction traps.
{{EmbedInteractiveExample("pages/wat/unreachable.html", "tabbed-shorter")}}
Syntax
| Instruction | Binary opcode |
|---|---|
unreachable | 0x00 |