1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
function g() { return g.caller; } (async function f() { var inner = g(); assertEq(inner, null); })(); (async function f() { "use strict"; var inner = g(); assertEq(inner, null); })(); if (typeof reportCompare === "function") reportCompare(true, true);