Source code

Revision control

Copy as Markdown

Other Tools

const { g } = wasmEvalText(`(module (func $f) (export "g" (func $f)))`).exports;
function testCaller() {
return g.caller;
}
assertErrorMessage(testCaller, TypeError, /caller/);