-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Description
Describe the bug
The result of the function in the question can be either window or undefined but the question only accepts window as a correct answer. Here's an example of the same code producing undefined: https://senocular.github.io/tests/function-context/
To Reproduce
Steps to reproduce the behavior:
- Go to https://quiz.typeofnan.dev/this-keyword/
- Click on undefined
- Click on submit
Expected behavior
Answer is correct or question goes into more detail about the environment beyond just being in the browser that explicitly rules out situations where it may be undefined (i.e. strict mode).
Desktop (please complete the following information):
- OS: Mac
- Browser chrome
- Version 78
Metadata
Metadata
Assignees
Labels
No labels