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, a7 min read·blog.sandipan.chMar 24
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 f7 min read·blog.sandipan.chMar 24
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 a6 min read·blog.sandipan.chMar 23
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 does6 min read·blog.sandipan.chMar 21
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 do5 min read·blog.sandipan.chMar 21