Objects - Beginner JavaScript - Wes Bos

PHOTO EMBED

Tue Feb 15 2022 10:36:23 GMT+0000 (Coordinated Universal Time)

Saved by @arnoa69 #javascript

We will go into why that is later but the short answer for now is that arrow functions do not scope this to the thing they are called against, and the parent scope will inherit that.
content_copyCOPY

https://wesbos.com/javascript/07-logic-and-flow-control/intervals-and-timers/