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...
Смотрите видео Understanding Synchronous vs Asynchronous JavaScript онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Steve Griffith - Prof3ssorSt3v3 20 Январь 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 71,740 раз и оно понравилось 1.3 тысяч людям.