Learning JavaScript Functions and Scope

Day 2 of My JavaScript Journey Today was all about understanding functions and scope — core concepts that make JavaScript powerful 💻 🔹 Created both normal functions and arrow functions with parameters 🔹 Worked with objects + functions to print dynamic output 👉 “Rahul is learning React” 🔹 Learned about scope (Global vs Local) 📌 Inside function → Local value 📌 Outside function → Global value 🔹 Built a simple multiply function using arrow syntax 💡 Key Takeaway: Functions help write reusable code, and understanding scope avoids unexpected bugs. Step by step, improving my logic and confidence in JavaScript 🔥 #JavaScript #CodingJourney #WebDevelopment #100DaysOfCode #LearnInPublic #ReactJS

  • No alternative text description for this image

To view or add a comment, sign in

Explore content categories