JavaScript Promises Explained for BeginnersWhen beginners first encounter asynchronous JavaScript, it usually feels a little weird. You call a function, but the result does not come back immediately. Maybe it is waiting for an API response, a Mar 24 · 7 min readblog.sandipan.ch
Synchronous vs Asynchronous JavaScriptOne of the biggest mindset shifts in JavaScript is understanding the difference between synchronous and asynchronous code. At first, JavaScript feels simple: you write code line by line, and it runs fMar 24 · 7 min readblog.sandipan.ch
Async/Await in JavaScript: Writing Cleaner Asynchronous CodeAs soon as you start working with real JavaScript applications, you run into asynchronous code. Fetching data from an API, reading files, waiting for a timer, handling authentication, or talking to a Mar 23 · 6 min readblog.sandipan.ch
Error Handling in JavaScript: Try, Catch, FinallyNo matter how carefully you write code, errors will happen. A variable might be undefined. A function might receive the wrong input. An API response might fail. And when that happens, JavaScript does Mar 21 · 6 min readblog.sandipan.ch
Spread vs Rest Operators in JavaScriptAt first glance, the spread operator and rest operator look exactly the same. Both use three dots: ... That is why a lot of beginners get confused. But even though they share the same syntax, they doMar 21 · 5 min readblog.sandipan.ch