Hitesh Choudhary's JavaScript Essentials with Hitesh Choudhary

It’s been a month since I joined the Chai Aur Code cohort by Hitesh Choudhary and Piyush Garg, and I have to say — the way Hitesh sir explains concepts makes even the basics feel powerful and practical. Day 17 — JavaScript Essentials Part 1 Today wasn’t just about syntax, it was about understanding how JavaScript actually behaves behind the scenes. Started with console methods and realized how much more there is beyond just console.log — grouping logs, measuring performance with console. time, and even differentiating between warnings and errors. Then came variables, and this part really changed how I think: Instead of blindly using var, the idea is to default to const, and only use let when changes are expected. It’s a small shift, but it makes code more predictable and less prone to bugs. Also understood something subtle but important: `const` doesn’t make objects immutable; it only locks the reference. You can still change properties inside arrays and objects. The concept of scope hit hard today: var can leak outside blocks, which can create unexpected bugs. let and const fix this with proper block scoping. Strings were another interesting area: They look simple, but methods like slice, split, join, indexOf, and padStart show how powerful they are. Also learned that strings are immutable every operation creates a new value instead of modifying the original. One thing that stood out: null vs undefined isn’t just theory it's about intent vs. absence and how JavaScript handles memory and garbage collection. Ending the day with a simple thought: JavaScript is not hard, but it is very precise. Small misunderstandings can lead to big bugs. Still early in the journey, but slowly starting to see how things connect. Thank you Hitesh Choudhary sir, Piyush Garg sir, Anirudh Jwala sir for the support #JavaScript #WebDevelopment #CodingJourney #LearnToCode #100DaysOfCode #Developers #Programming #TechCareers

  • graphical user interface, text, application

To view or add a comment, sign in

Explore content categories