blog.saumyagrawal.inUnder the Hood: How Node.js Actually Runs Your CodeThere is a whole world that exists between your JavaScript code and the machine that executes it. When you first started using Node.js, you heard terms like non-blocking code and event loop. We accept2h ago·10 min read
blog.saumyagrawal.inStop Using 100 Variables: How JavaScript Objects Save Your SanityConsider you are building a social media platform for your college. You can store data in individual variables: const username = "anon.codes"; const followers = 1240; const bio = "building stuff on th23h ago·9 min read
blog.saumyagrawal.inBeyond window: Understanding global and globalThis in JavaScriptWhen you wrote your first code in Node.js, you used console and setTimeout without the need for import or declaration. They are present in your IDE, ready to be used. Have you ever wondered where they1d ago·8 min read
blog.saumyagrawal.inLevel Up Your JavaScript: A Practical Guide to Array ManipulationArrays are one of the most important data structures in JavaScript. But knowing how to store data is only half the battle, but what to do with the array and data stored in it? How can the array be man1d ago·14 min read
blog.saumyagrawal.inThe Ultimate Guide to JavaScript Arrays for BeginnersYou are trying to make a personlised music app, adding your favourite songs in a playlist. You have no idea about arrays. So, you would store your songs like: let song1 = "Blinding Lights"; let song2 2d ago·9 min read