Source code
Revision control
Copy as Markdown
Other Tools
assertEq(wasmEvalText(`
(module
(func $f (param $p i32)
block $out
i32.const 0
if
i32.const 1
local.tee $p
br_table $out $out
end
end
local.get $p
br_if 0
)
(export "f" (func $f))
)
`).exports.f(42), undefined);