DDhirajinblog.dhiraj.dev00Async Await in JavaScript Writing Cleaner Asynchronous CodeMar 24 · 3 min read · When we learned about asynchronous JavaScript we saw how callbacks work. Then promises came to solve callback nesting. But even promises can feel messy sometimes with .then() chains. So JavaScript intJoin discussion
DDhirajinblog.dhiraj.dev00Synchronous vs Asynchronous JavaScriptMar 24 · 3 min read · When we write JavaScript most of the time code runs line by line. One step after another. Simple. But in real apps things do not always happen instantly. Sometimes you have to wait: fetching data froJoin discussion
DDhirajinblog.dhiraj.dev00Error Handling in JavaScript: Try, Catch, FinallyMar 24 · 3 min read · When we write JavaScript, we expect things to work. But in real world apps, things break. Maybe: API fails variable is undefined wrong data comes And when something breaks, JavaScript throws an eJoin discussion
DDhirajinblog.dhiraj.dev00The `new` Keyword in JavaScriptMar 24 · 3 min read · In JavaScript, you might have seen new in code like: const user = new User() We use it, but many times we don’t really know what it’s doing internally. It feels like it just creates an object. But acJoin discussion
DDhirajinblog.dhiraj.dev00Spread vs Rest Operators in JavaScriptMar 24 · 3 min read · In JavaScript, you might have seen these three dots ... Sometimes they behave like magic. Same syntax, but different use. Sometimes it spreads values Sometimes it collects values So what’s actually haJoin discussion