Source code

Revision control

Copy as Markdown

Other Tools

let instance = wasmEvalText(`
(func $twoRefs (result externref externref)
(ref.null extern)
(ref.null extern))
(func $fourRefs (export "run") (result externref externref externref externref externref externref)
call $twoRefs
call $twoRefs
call $twoRefs)
`);
assertDeepEq(instance.exports.run(), [null, null, null, null, null, null])