JavaScript "this" Explained: Key Concepts Every Interviewer Tests
1. What is this in JavaScript?
this refers to the object that is currently executing the function.
It allows functions (methods) to access properties of the object they belong to.
Example
const user =
pritam-roy.hashnode.dev3 min read