Promise do zero em Javascript/Node js [pt1]: Async I/O, Callbacks e Event Loop

Promises have been in JavaScript since ECMAScript 6 and are key to handling asynchronous code and establishing new features like async/await. In this video, we'll understand everything about promises by implementing our OWN PROMISE! 💪💪💪 In this video we will see: 👉 Creating a Promise from scratch 👉 Why Promises were created 👉 The difference between Promises and callbacks 👉 Understanding the behaviors of `then` and `resolve` 👉 How the ECMAScript specification works Code: https://github.com/waldemarnt/node-de... References: http://www.ecma-international.org/ecm... https://jakearchibald.com/2015/tasks-...    • Jake Archibald on the web browser event lo...   Thanks everyone! Don't forget to 👍 and comment 🗣