michael@0: // Don't treat f.caller as a singleton property access, it michael@0: // has a non-default getter. michael@0: function f(obj) { michael@0: return f.caller; michael@0: } michael@0: function g(obj) { michael@0: return f(obj); michael@0: } michael@0: function gg(obj) { michael@0: return f.call(obj, obj); michael@0: } michael@0: michael@0: assertEq(g({}), g); michael@0: michael@0: actual = gg(function() {}); michael@0: assertEq(actual, gg);