1 2 3 4 5 6 7
const { g } = wasmEvalText(`(module (func $f) (export "g" (func $f)))`).exports; function testCaller() { return g.caller; } assertErrorMessage(testCaller, TypeError, /caller/);