1 2 3 4 5 6 7 8 9
// evalInFrame with non-syntactic scopes. load(libdir + "asserts.js"); load(libdir + "evalInFrame.js"); evalReturningScope(` var x = 42; assertEq(evalInFrame(0, "x"), 42); `);