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
Learned JavaScript arrays, functions, and objects in #100DaysOfCode
More Relevant Posts
-
𝗗𝗮𝘆 𝟯𝟴: Mastering Advanced Functions, Scope, Arrays, and Objects in JavaScript! 🧠🗃️ Day 38 of the AI Powered Cohort at Sheryians Coding School was a powerhouse session! We advanced significantly in our JavaScript journey, covering essential concepts from complex function types to mastering data structures like Arrays and Objects. A massive thank you to Harsh Vandana Sharma for guiding us through this dense and critical material. Here's a breakdown of the key topics mastered today: 𝗔𝗱𝘃𝗮𝗻𝗰𝗲𝗱 𝗙𝘂𝗻𝗰𝘁𝗶𝗼𝗻 𝗖𝗼𝗻𝗰𝗲𝗽𝘁𝘀: 𝗙𝗶𝗿𝘀𝘁-𝗖𝗹𝗮𝘀𝘀 𝗙𝘂𝗻𝗰𝘁𝗶𝗼𝗻𝘀: Understanding that functions can be treated just like any other variable. 𝗛𝗶𝗴𝗵𝗲𝗿-𝗢𝗿𝗱𝗲𝗿 𝗙𝘂𝗻𝗰𝘁𝗶𝗼𝗻𝘀 & 𝗖𝗮𝗹𝗹𝗯𝗮𝗰𝗸𝘀: Functions that take other functions as arguments or return them. 𝗔𝗻𝗼𝗻𝘆𝗺𝗼𝘂𝘀 𝗙𝘂𝗻𝗰𝘁𝗶𝗼𝗻𝘀: Functions without a name, often used as callbacks. Pure vs. Impure Functions: Distinguishing between functions that always produce the same output for the same input (pure) versus those with side effects. 𝗦𝗰𝗼𝗽𝗲 & 𝗖𝗹𝗼𝘀𝘂𝗿𝗲𝘀: We solidified our understanding of Global vs. Functional Scope and dove into the powerful concept of Closures how inner functions retain access to variables from their outer scope even after the outer function has finished executing. 𝗠𝗮𝘀𝘁𝗲𝗿𝗶𝗻𝗴 𝗔𝗿𝗿𝗮𝘆𝘀: 𝗖𝗿𝗲𝗮𝘁𝗶𝗼𝗻 & 𝗔𝗰𝗰𝗲𝘀𝘀: We learned how to build and retrieve data from arrays. 𝗘𝘀𝘀𝗲𝗻𝘁𝗶𝗮𝗹 𝗠𝗲𝘁𝗵𝗼𝗱𝘀: We practiced a huge list of array methods including push, pop, shift, unshift, indexOf, slice, reverse, sort, join, and toString. 𝗠𝗼𝗱𝗲𝗿𝗻 𝗧𝗲𝗰𝗵𝗻𝗶𝗾𝘂𝗲𝘀: Mastered Array Destructuring, the Spread Operator (...), and powerful iteration methods like map, filter, reduce, some, and forEach. 𝗢𝗯𝗷𝗲𝗰𝘁𝘀 𝗗𝗲𝗺𝘆𝘀𝘁𝗶𝗳𝗶𝗲𝗱: We explored the fundamental key-value pair structure of Objects, learning how to create them, access and delete properties, and work with complex nested objects. This session truly bridged the gap between basic syntax and powerful, functional programming patterns. I'm excited to apply these advanced array methods and object structures to build more complex applications! #Day38 #CodingJourney #AIpoweredCohort #JavaScript #AdvancedJS #Closures #Arrays #Objects #WebDevelopment #Programming #SheryiansCodingSchool #HarshVandanSharma
To view or add a comment, sign in
-
-
Day 28 - Cohort 2.0! Sheryians Coding School Understanding JavaScript Data Types. This session was all about exploring the core data types in JavaScript. Like float, number, string, boolean, null, array, object, symbol, undefined, NaN, Infinity and understanding the difference between primitive and reference types. These concepts form the foundation of every JavaScript program, helping us store, compare, and manage data effectively. Harsh Vandana Sharma Bhaiya explained everything so well Every day, the journey into JavaScript gets more exciting and insightful. #SheryiansCodingSchool #JavaScript #WebDevelopment #LearningJourney #Frontend #Coding
To view or add a comment, sign in
-
-
Day 30 | Cohort 2.0 Journey Data Types in JavaScript: Understanding the Building Blocks 🧱✨ Today was all about diving deeper into JavaScript fundamentals with Harsh Vandana Sharma from Sheryians Coding School especially data types which define the nature of values we work with in programs. 🔹 Covered Types: Number — Integers & floating values Float — Decimal numbers Boolean — true or false String — Text & characters Null — Intentionally empty Undefined — Value not assigned NaN — Not-a-Number result from invalid math Primitive & Reference Data Types — Important memory behavior differences Understanding these helps reduce silly bugs and write cleaner logic 🎯 Every small concept is a powerful step towards becoming a Full Stack Developer! 🚀 #Day30 #JavaScript #DataTypes #LearningJourney #WebDevelopment #Frontend #Cohort2 #SheryiansCodingSchool
To view or add a comment, sign in
-
Day 35 of #100DaysOfCode – Functions, Recursion & Do-While Loop in JavaScript Today’s learning focused on some of the most important programming fundamentals in JavaScript: Key Learnings: Do-While Loop → Understanding how it executes the block at least once before checking the condition Functions in JavaScript → Structure, reusability, and clean code Arguments vs Parameters → How data is passed and handled Rest Parameters → Efficient way to work with variable number of inputs Recursion → Calling functions within themselves to solve repeating subproblems Hoisting → Variable Hoisting — behavior differences between var, let, and const Function Hoisting — how JavaScript moves function declarations to the top during execution Takeaway: Functions and recursion unlock powerful logic possibilities, and understanding hoisting helps avoid unexpected bugs. These concepts form the backbone of writing optimized and predictable JavaScript code. A big thanks to Harsh Vandana Sharma from Sheryians Coding School and Sheryians Coding School Community for making function mechanics and hoisting concepts easy to understand with practical examples. #100DaysOfCode #JavaScript #Functions #Recursion #WebDevelopment #CodingJourney #Frontend
To view or add a comment, sign in
-
-
𝗗𝗮𝘆𝘀 𝟮𝟵 - 𝟯𝟮: Mastering JavaScript Logic, Operators, and Control Flow 💡🔄 The last four days of the AI Powered Cohort, led by Harsh Vandana Sharma at Sheryians Coding School, have been dedicated to mastering the logic and structure that make JavaScript programs run. We've conquered everything from fundamental Operators to essential Control Flow mechanisms. Here's a breakdown of the key concepts covered: 𝗢𝗽𝗲𝗿𝗮𝘁𝗼𝗿 𝗗𝗲𝗲𝗽 𝗗𝗶𝘃𝗲: We explored the tools that handle calculations and comparisons, including: Arithmetic (+, -, *, /, %) and Assignment (=, +=, -=). Comparison (<, >, <=, >=, ==, ===) and Logical (&&, ||, !) operators. 𝗧𝗲𝗿𝗻𝗮𝗿𝘆 𝗢𝗽𝗲𝗿𝗮𝘁𝗼𝗿: The concise way to write simple if/else statements. 𝗔𝗱𝘃𝗮𝗻𝗰𝗲𝗱 𝗢𝗽𝗲𝗿𝗮𝘁𝗼𝗿𝘀: We learned about Nullish Coalescing Operator ($\text{??}$) for handling null or undefined values gracefully, and Optional Chaining ($\text{?.}$) for safely accessing nested object properties. 𝗩𝗮𝗿𝗶𝗮𝗯𝗹𝗲 𝗛𝗼𝗶𝘀𝘁𝗶𝗻𝗴: Gained a clear understanding of how JavaScript moves variable and function declarations to the top of their scope during compilation. 𝗖𝗼𝗻𝘁𝗿𝗼𝗹 𝗙𝗹𝗼𝘄 𝗘𝘀𝘀𝗲𝗻𝘁𝗶𝗮𝗹𝘀: We transitioned into the backbone of any programming logic: 𝗖𝗼𝗻𝗱𝗶𝘁𝗶𝗼𝗻𝗮𝗹 𝗦𝘁𝗮𝘁𝗲𝗺𝗲𝗻𝘁𝘀: In-depth discussion of if, else if, and switch for decision-making. 𝗟𝗼𝗼𝗽𝘀: Mastered different types of loops, for, while, do-while, for-each and for-in to automate repetitive tasks. 𝗥𝗲𝗰𝘂𝗿𝘀𝗶𝗼𝗻: Introduced the powerful concept of recursion, where a function calls itself to solve a problem. The highlight was the dedicated class time spent solving and reviewing the assignment. This hands-on problem-solving, along with tackling numerous complex questions, truly solidified these concepts. Confidence in writing efficient, logical JS code is climbing! Ready to apply these skills. #Day29 #Day30 #Day31 #CodingJourney #AIpoweredCohort #JavaScript #JSOperators #ControlFlow #Loops #Recursion #WebDevelopment #SheryiansCodingSchool
To view or add a comment, sign in
-
-
Day 27 of #100DaysOfCode – Understanding JavaScript Data Types Today’s session focused on one of the most important JavaScript fundamentals data types and how they define the nature of values we work with in code. Key Learnings: Explored different data types: float, number, char, string, boolean, null, NaN, undefined, infinity, array, object, and symbols. Understood the difference between primitive and reference (non-primitive) data types. Learned which data types fall under each category and how they behave in memory. Also went through the concept of comments and their role in writing cleaner, readable code. Takeaway: Knowing how data types work is crucial — it helps prevent bugs, optimize memory usage, and write predictable, efficient JavaScript code. Appreciation to Harsh Vandana Sharma from Sheryians Coding School and Sheryians Coding School Community for delivering today’s topic with such clarity and depth. #100DaysOfCode #JavaScript #WebDevelopment #CodingJourney #Frontend #Learning
To view or add a comment, sign in
-
-
𝗗𝗮𝘆 𝟮𝟲: The Adventure Begins — Introduction to JavaScript! 🌟💻 The moment we’ve been waiting for has arrived! Day 26 of the AI Powered Cohort marked the official start of our JavaScript module. Today was all about getting a solid introduction and overview of this fundamental programming language: 𝗪𝗵𝗮𝘁 𝗶𝘀 𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁? We learned that it's a high-level, interpreted scripting language primarily used to create interactive and dynamic content on websites. It’s the "behavior" layer of the web! 𝗖𝗼𝗿𝗲 𝗙𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀: We started with the absolute basics, covering how to execute simple JS code in the browser console and understanding the role of the JS engine. 𝗕𝗮𝘀𝗶𝗰 𝗦𝘆𝗻𝘁𝗮𝘅 𝗢𝘃𝗲𝗿𝘃𝗶𝗲𝘄: Got a quick look at variables, data types, and simple operations—the building blocks of any JS program. The transition from the declarative languages (HTML/CSS) to a procedural language like JavaScript is challenging but thrilling. This foundational session was crucial for setting the right perspective for the complex topics ahead. Excited for the practical coding to come! #Day26 #CodingJourney #AIpoweredCohort #JavaScriptIntroduction #ProgrammingBasics #WebDevelopment #Frontend #SheryiansCodingSchool #TechEducation
To view or add a comment, sign in
-
-
💡 Encapsulation & Polymorphism — Bringing Structure to JavaScript After getting comfortable with Classes, I dived into how Encapsulation and Polymorphism bring real shape and discipline to Object-Oriented Programming (OOP) in JavaScript. 🚀 🔒 Encapsulation taught me the importance of protecting and controlling data — using private fields (#) and getters/setters to manage access. It’s like setting healthy boundaries inside your code — clean, safe, and predictable. 🎭 Polymorphism showed me the power of flexibility — where different classes can share the same method names but behave differently based on context. It’s creativity meeting structure — and it makes your code truly adaptable. ✨ Together, they transformed my code from scattered logic into a well-organized, reusable system that actually feels designed. 💬 “Good code isn’t just about working — it’s about being organized, reusable, and scalable.” #JavaScript #OOP #Encapsulation #Polymorphism #FrontendDevelopment #CleanCode #CodingJourney #LearnInPublic #Developers
To view or add a comment, sign in
-
-
📸 Day 28: Mastering JavaScript Data Types 🧠💻 Today I explored one of the most fundamental parts of JavaScript — Data Types. 🔹 Primitive Types: Number | String | Boolean | null | undefined | NaN | Infinity | Symbol 🔹 Non-Primitive Types: Array | Object 💡 Key Insight: Primitives store simple, single values, while Non-Primitives hold references to complex data. This distinction changes how data behaves inside your programs! ⚡ Learning and leveling up every day with Sheryians Coding School Cohort 2.0 ✨ Big thanks to @harshvandanasharma, and @sheryians_coding_school 🙌 Which data type tripped you up the most when you started learning JS? 🤔👇 Connect with me: GitHub: github.com/octaveweb X: @KaranSwarnakar LinkedIn: https://lnkd.in/d8KfX8fS Facebook: https://lnkd.in/dh6C_9af #Day28 #JavaScript #DataTypes #Frontend #WebDev #CodingTips #Sheryians #LearningJourney #Cohort2
To view or add a comment, sign in
-
🚀 Day 38 — Cohort 2.0 of Web development with Sheryians Coding School Today I explored some core JavaScript fundamentals that every developer should understand deeply. 🧠 Topics I covered: 🔹 Pure vs Impure Functions — Learned how pure functions always produce the same output for the same input and have no side effects, while impure functions can behave differently depending on external factors. 🔹 Closures — Understood how a function can access variables from its parent scope even after the parent has finished executing. Closures are the backbone of many advanced JS concepts. 🔹 Arrays & Their Methods — Practiced using array methods to add, remove, and manipulate data efficiently. Also explored how the spread operator helps clone and merge arrays easily. 🔹 Objects & Nested Objects — Discovered how objects organize data as key-value pairs and how nesting allows us to represent structured, real-world data more effectively. 💡 Each concept makes me more confident in writing cleaner, smarter, and more logical JavaScript code. Excited to keep building my foundation stronger every day! #Day38 #JavaScript #WebDevelopment #DSA #SheryiansCodingSchool #LearningJourney #FrontendDeveloper #GenAI #100DaysOfCode Harsh Vandana Sharma Sheryians Coding School Community
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development