I am a noob to programming and i am trying to understand 'this' keyword. so i defined a variable in global scope and i was expecting that if i use such a variable with 'this' keyword in a function defined and called in global scope, function would return value of the variable which was assinged in global scope. but i am getting undefined
`
let title = "global";
const func = () => {
const title = "func";
console.log(this);
console.log(this.title);
};
func();
` console show window object and undefined