Learned JavaScript arrays, functions, and objects in #100DaysOfCode

Day 37 of #100DaysOfCode – Exploring Arrays, Functions & Objects in JavaScript Today’s session was packed with essential JavaScript concepts that strengthen how data is handled, accessed, and manipulated in programs. Key Learnings: Revisited Pure and Impure Functions to understand how side effects impact predictability in code. Deepened understanding of scoping in JavaScript especially global and function scope  and how closures retain access to outer variables. Worked with arrays and explored key methods: push(), pop(), filter(), reverse(), sort(), map(), slice(), join(), toString(), and using the spread operator for copying and merging arrays. Practiced accessing arrays using both for and forEach loops. Introduced to objects in JavaScript understanding key-value pairs, creation, deletion, and nested objects for structured data representation. Takeaway: Mastering arrays, objects, and closures builds a strong foundation for working with real world data structures and functional programming in JavaScript. Grateful to Harsh Vandana Sharma from Sheryians Coding School and Sheryians Coding School Community for the detailed explanation and practical exercises that made these concepts easy to grasp. #100DaysOfCode #JavaScript #WebDevelopment #Frontend #CodingJourney #LogicBuilding #DataStructures

  • No alternative text description for this image

To view or add a comment, sign in

Explore content categories