Overview
Learn about JavaScript Promises and async/await in this comprehensive tutorial video. Explore the evolution of asynchronous programming in JavaScript, starting with callbacks and progressing to modern Promises and async/await syntax. Discover how Promises enable non-blocking asynchronous operations, particularly useful for network requests and timers. Follow along as the instructor demonstrates practical examples, including using http-server and PostgreSQL with JavaScript. Gain insights into the differences between asynchronous and synchronous programming, and learn how to implement error handling with then/catch blocks and the finally clause. Access the provided source code to practice and reinforce your understanding of these essential JavaScript concepts.
Syllabus
Intro
callback
reference http-server
promises then catch
finally
postgres javascript
async await
async vs sync
Taught by
Hussein Nasser