Debian Codegraph @

js/src/jit-test/tests/wasm/regress/caller-property.js

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