Understanding Synchronous vs Asynchronous JavaScript

Опубликовано: 29 Сентябрь 2024
на канале: Steve Griffith - Prof3ssorSt3v3
71,740
1.3k

Most of what you write in JavaScript is Synchronous procedural code read from top to bottom and executed in the single main thread of the JavaScript process.
However, that doesn't mean that JavaScript can't run code in an Asynchronous way.
The video discusses the differences and how that can unexpectedly impact the code that you write.

Promises Playlist:    • JavaScript ES6 Promises - Basic Syntax  

Code GIST: https://gist.github.com/prof3ssorSt3v...