Explain it in 60 seconds
The this keyword in JavaScript
Frontend Engineering · JavaScript Core · Beginner
How does the this keyword work in JavaScript?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Depends on how function is called.
- Method call: object before dot.
- Plain call: undefined in strict mode.
- new: new instance.
- Arrow functions inherit this lexically.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.