Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/webassembly/reference/control_flow/unreachable/index.md
6532 views
---
title: unreachable slug: WebAssembly/Reference/Control_flow/unreachable
---

{{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

unreachable
InstructionBinary opcode
unreachable0x00