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