How would I access a parents functions "var" variables in the following scenario (I can only edit the definition of the reset function):
_.bind(function(){
var foo = 5;
var reset = function(){
foo = 6; //this changes foo,
bar = 7; //**I want this to add another "var", so I don't pollute global scope
}
reset();
console.log(foo); //6
console.log(bar); //7
}, window);