Why is `this` set to `undefined`? Can a code comment be added for that?