Question PRG-JS-0075
HardWhy does 'this' inside a regular function passed as a callback (such as setTimeout(obj.method, 0)) often not refer to obj?
- A.
It always refers to obj
- B.
this is set by how a function is called, and the callback is called without obj
- C.
Sign up free to see the answer and a step-by-step explanation.