when we call foo, it return a function which is inside foo function so if it is invoking inside the foo and fox function will return 'this' in the context of foo right? so shouldn't
function foo(){
function fox(){
return this.fox;
}
return fox();
}
foo(); //undefined
it return the function instead of undefined.