Quiz
- could you explain why invoking a normal function changes the value of this?
So that they can be used for methods. The method/function needs to be able to refer to the object its operating on, so JS uses
this
for that value, and sothis
gets rebound. - It was clear! / I don't have any questions.
Really? That's great! Most people have a tough time with
this
.