blob: 735654624ef001ff0c9c03601282b04c6ecee8aa [file] [log] [blame]
var obj = {
value: 42,
fn: function() {
return function() {
return obj.value;
};
}
};
assertEqual(obj.fn()(), 42);
test(function() {
obj.fn();
});