SAShivanshu Agrawalintech-blogs-shivanshu.hashnode.dev00Flattening an Array in JavaScriptMay 7 · 4 min read · After coming back from sabzi mandi. You have one massive jhola (cloth bag). You look inside, and there is a plastic bag of potatoes. Dig deeper, and inside a bag of dhaniya, the vendor had put packet Join discussion
SAShivanshu Agrawalintech-blogs-shivanshu.hashnode.dev00JavaScript Modules: May 7 · 4 min read · Organizing code is exactly like organizing a big, traditional Indian wedding. If you try to make one person handle catering, DJ, panditji , and flower decorations all at once, you get absolute chaos—aJoin discussion
SAShivanshu Agrawalintech-blogs-shivanshu.hashnode.dev00Async Code in Node.js : Callbacks and PromisesApr 20 · 5 min read · If once you wrote a Node.js application you have obviously got into asynchronous code. But why is it designed this way and how did we evolve from the "callback hell" to much cleaner world of Promises?Join discussion
SAShivanshu Agrawalintech-blogs-shivanshu.hashnode.dev00Setting up First Node.js ApplicationApr 19 · 3 min read · Welcome to Node.js. If you have written JavaScript for web you already know the language. Node.js simply takes JavaScript out of browser and puts it right onto your computer. 1. Installing Node.js WheJoin discussion
SAShivanshu Agrawalintech-blogs-shivanshu.hashnode.dev00How Node.js handles Multiple Requests with a Single ThreadApr 18 · 4 min read · Node.js is famous for running on a single thread yet it powers the most high traffic applications in the world like Netflix, Uber, and PayPal. If it only has one thread it should freeze when two usersJoin discussion