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

4 764
20.4
Published on 30 Mar 2026, 13:01
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 → goo.gle/developers

Speaker: Sayali Godbole
autotechmusickids