Source code

Revision control

Copy as Markdown

Other Tools

var obj = {};
(function() {
if (obj) {
function f() { obj.x = 1; }
obj.m = function() { f(); };
}
})();
obj.m();
assertEq(obj.x, 1);