setTimeout of 0?

Опубликовано: 02 Сентябрь 2024
на канале: WittCode
109
10

Learn about the JavaScript event loop, task queue, and Web APIs by understanding what setTimeout of 0 does. We will also go over how JavaScript is single threaded and asynchronous.

Become a Better Developer
📚 https://courses.wittcode.com

My Software
📡 WittCepter - https://chromewebstore.google.com/det...
🪵 ConsoleLog - https://chromewebstore.google.com/det...

Download Code
👨‍💻 https://blog.wittcode.com

⌛ Timestamps
0:00 - Introduction
0:08 - What is the Event Loop?
0:25 - The Call Stack
1:11 - JavaScript is Asynchronous
1:19 - setTimeout of 0
2:14 - WebAPIs and Queues
2:59 - setTimeout of 0
4:46 - Outro