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...
On this page of the site you can watch the video online Understanding Synchronous vs Asynchronous JavaScript with a duration of hours minute second in good quality, which was uploaded by the user Steve Griffith - Prof3ssorSt3v3 20 January 2018, share the link with friends and acquaintances, this video has already been watched 71,740 times on youtube and it was liked by 1.3 thousand viewers. Enjoy your viewing!