1 résultat trouvé
- Aujourd’hui, 12:49
- Forum : Javascript
- Sujet : Confused about this keyword behavior in arrow functions vs. regular functions within objects
- Réponses : 0
- Vues : 39
Confused about this keyword behavior in arrow functions vs. regular functions within objects
Hey everyone, I'm hitting a bit of a wall understanding the this keyword's behavior, specifically when dealing with arrow functions versus regular functions within object methods. I thought I had a handle on it, but a recent piece of code has me scratching my head. Consider this simplified example: ...