JavaScript Promises Explained for BeginnersIntroduction When JavaScript performs an asynchronous operation, we often don't get the result immediately. A file may still be loading. An API request may still be running. A database query may stillOct 3 · 9 min readdev-ops-blogs.hashnode.dev
Async Code in Node.js: Callbacks and PromisesIntroduction When we write code, some operations take time.Reading a file, making a database query, calling an API, or communicating over a network may not finish immediately. If JavaScript simply waiOct 3 · 13 min readdev-ops-blogs.hashnode.dev
JavaScript Promises: From Basic to AdvanceIntroduction JavaScript is a single-threaded language, which means JavaScript code is executed on one main thread. But that does not mean JavaScript has to wait for every operation to finish. When an Oct 3 · 20 min readdev-ops-blogs.hashnode.dev
Understanding the this Keyword in JavaScriptJavaScript has a special keyword called this. At first, this can feel confusing because its value is not fixed. It can change depending on where the code is running and, most importantly, how a functiSep 11 · 13 min readdev-ops-blogs.hashnode.dev
Blocking vs Non-Blocking Code in Node.jsWhen working with Node.js, one important concept to understand is blocking vs non-blocking code. The difference is simple: Blocking code makes the program wait. Non-blocking code allows the program tSep 11 · 8 min readdev-ops-blogs.hashnode.dev