blob: 252c02a7c802fe4e847d1bdd8ba0f8ee334d7578 [file] [log] [blame]
var obj = {
value: 42,
fn: function() {
var args = arguments;
return function() {
return args[0];
};
}
};
var fn = obj.fn(1);
assertEqual(fn(), 1);
test(function() {
fn();
});