What does that setTimeout call actually log — and what happened to this? Go!

Google for Developers · Intermediate ·📰 AI News & Updates ·3h ago
Can you spot the bug in this JavaScript challenge? We define an object with a greet method and call it directly. So far so good. Then we pass that same method to setTimeout. Same method… different result! What happened? Check out the video and share your best answer in the comments. Subscribe to Google for Developers → https://goo.gle/developers Speaker: Sayali Godbole
Watch on YouTube ↗ (saves to browser)
AI Is Quietly Replacing Entry-Level Jobs
Next Up
AI Is Quietly Replacing Entry-Level Jobs
Full Disclosure