SCSandipan Chakrabortyinblog.sandipan.ch·Mar 24 · 7 min readJavaScript 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 00
SCSandipan Chakrabortyinblog.sandipan.ch·Mar 24 · 7 min readSynchronous 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 f00
SCSandipan Chakrabortyinblog.sandipan.ch·Mar 23 · 6 min readAsync/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 00
SCSandipan Chakrabortyinblog.sandipan.ch·Mar 21 · 6 min readError 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 00
SCSandipan Chakrabortyinblog.sandipan.ch·Mar 21 · 5 min readSpread 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 do00