I'm new to Javascript, just a question on 'this' when using anonymous function expression.
const testFunction = function () {
this.xxx = xxx;
};
later I call it as:
testFunction()
and there will be an error, because we can't use 'this' in this case,
but isn't that 'this' refer to the window object?