michael@0: function f() { return 2; } michael@0: function g(o) { michael@0: with (o) { michael@0: var f = function() { return 4; } michael@0: } michael@0: return f(); michael@0: } michael@0: michael@0: assertEq(g({}), 4); michael@0: michael@0: