Now I have some code:
window.testFun = {
say() {
console.log(this);
}
};
window.testFun.say(); // print say
window.console.log(this); // why not console but window?
I am sorry that my English is not very good, but I am actively learning English now, and I hope to be able to actively discuss the code with everyone