WebAssembly definitions

This set of pages details the top-level module definition features available in Wasm for defining items such as tables, types, memories, functions, etc.

Types

func

A function signature, which defines a function's identifier, parameter types, body, and result types.

Definitions

data

Defines a segment of bytes that can be copied into linear memory.

elem

Declares a series of references that can be copied into a Wasm table.

global

Creates a new global.

memory

Declares a block of linear memory in units of 64KB pages.

table

Creates a new table.

tag

Declares an exception type that can be thrown in the module.

Specifications

Specification
Unknown specification