Day 36 of #100DaysOfCode – Understanding Functions Deeply in JavaScript Today’s session was all about exploring how functions truly behave in JavaScript from their structure and parameters to their scope and execution flow. Key Learnings: Function Parameters: Required, destructured, rest, and default parameters. Function Arguments: Positional, default, and spread arguments, and how they’re passed into functions. Function Types: Classic functions, nested functions, and understanding the scope chain. IIFE (Immediately Invoked Function Expression): How and why it’s used for self-executing logic. Explored advanced function concepts: Arrow functions, anonymous functions, and callback functions. High-order functions for passing logic dynamically. Pure vs Impure functions understanding side effects and predictable behavior. Scoping: Deep dive into global scope and function scope to understand variable visibility and lifetime. Takeaway: Functions are the heart of JavaScript. Understanding their types, parameters, and scopes is crucial for writing modular, reusable, and efficient code. Grateful to Harsh Vandana Sharma from Sheryians Coding School and Sheryians Coding School Community for explaining complex function behaviors with clear examples and hands on exercises. #100DaysOfCode #JavaScript #Functions #WebDevelopment #Frontend #CodingJourney #LogicBuilding
Mastering JavaScript Functions: Day 36 of #100DaysOfCode
More Relevant Posts
-
Conquering the JavaScript Roadmap 🚀 The journey of a thousand lines begins with a single comment.Today, we're not just writing code; we're building the foundation for innovation This detailed roadmap covers everything essential from understanding why JavaScript is important and how to run it in the browser using the <script> tag, to mastering core variables like var, let, and const with Sheryians Coding School and our one and only Harsh Vandana Sharma #JavaScript #CodingJourney #WebDevelopment #CodeLife #LearnToCode #FrontendDevelopment #JSFundamentals
To view or add a comment, sign in
-
-
✨ Mastering JavaScript means understanding not just 𝘸𝘩𝘢𝘵 works - but 𝘸𝘩𝘺 it works. In our new blog post, “𝙁𝙧𝙤𝙢 𝙄𝙣𝙩𝙪𝙞𝙩𝙞𝙤𝙣 𝙩𝙤 𝙋𝙧𝙤𝙛𝙞𝙘𝙞𝙚𝙣𝙘𝙮: 𝙁𝙪𝙣𝙘𝙩𝙞𝙤𝙣 𝙏𝙧𝙖𝙣𝙨𝙛𝙤𝙧𝙢𝙖𝙩𝙞𝙤𝙣𝙨 𝙞𝙣 𝙅𝙖𝙫𝙖𝙎𝙘𝙧𝙞𝙥𝙩”, Anju Karanji unpacks that mindset beautifully. 💜🧠 If 𝗣𝗮𝗿𝘁 𝟮 was about chaining and composing functions, 𝗣𝗮𝗿𝘁 𝟯 dives into how functions themselves can evolve - transforming behavior, optimizing performance, and reshaping how we think about logic. ⚙️💭 Anju takes you on a journey from simple wrappers → to once-only execution patterns → to building your own memoization utility that makes code both elegant and efficient. 🧩✨ 🔍 𝗪𝗵𝗮𝘁 𝘆𝗼𝘂’𝗹𝗹 𝗹𝗲𝗮𝗿𝗻: 🎯 How higher-order functions reshape behavior 🧱 Building a once() wrapper from scratch ⚡ Implementing memoization for smarter performance 💡 When (and why) to use these transformations in real-world frontend code If you’re diving deeper into React, TypeScript, or just love exploring JavaScript patterns that scale, this post is packed with hands-on insights and aha moments. 📰 Read the full article: https://lnkd.in/dqbuHGq3 💌 Subscribe for more updates: https://lnkd.in/gDA5t-yP #FrontendQueens #WomenInTech #JavaScript #FunctionalProgramming #React #WebDevelopment #TechBlog
To view or add a comment, sign in
-
Day 29 of #100DaysOfCode – Deep Dive into JavaScript Operators & Hoisting Today’s session focused on understanding the wide range of JavaScript operators and how they function in real-world code. Key Learnings: Explored different types of operators: arithmetic, comparison, logical, assignment, ternary, type-checking, and string operators. Understood advanced concepts like spread/rest operators, nullish coalescing, and optional chaining. Learned about variable hoisting how JavaScript handles variable declarations internally, and the differences in behavior between var, let, and const. Takeaway: A clear understanding of operator precedence and hoisting helps write cleaner, bug-free, and optimized JavaScript code. Grateful to Harsh Vandana Sharma from Sheryians Coding School for making today’s concepts practical and easy to grasp. #100DaysOfCode #JavaScript #WebDevelopment #CodingJourney #Frontend
To view or add a comment, sign in
-
-
🔄 Day 163 of #200DaysOfCode After exploring advanced topics in JavaScript, I decided to slow down and revisit one of the most timeless logic challenges — reversing an array without using the built-in reverse() method. 🌱 It might seem like a simple exercise, but it teaches you something very powerful — how data moves in memory, how to swap values efficiently, and how small logic patterns build the foundation for solving complex problems later on. In JavaScript, it’s easy to rely on built-in functions, but when you write logic manually, you begin to understand the real mechanics behind how things work — and that’s what makes you a stronger developer. 💡 Problems like these remind me that mastery isn’t about how many advanced concepts you know, but how deeply you understand the basics. 🔁 Even experienced developers revisit their roots from time to time — because fundamentals never go out of style. Keep learning. Keep building. Keep evolving. #JavaScript #CodingChallenge #BackToBasics #163DaysOfCode #LearnInPublic #WebDevelopment #DeveloperMindset #ProblemSolving #CodingJourney
To view or add a comment, sign in
-
-
#Day37 Complete Of #MERNSTACK Course with CoderArmy & Rohit Negi 🚀 Today’s Learning: Understanding JavaScript’s this Keyword, Call, Apply, and Bind! Today I deepened my understanding of one of JavaScript’s most powerful — yet sometimes confusing — concepts: the this keyword 🔍 Here’s what I learned: - this refers to the object that’s executing the current function. - call() allows us to invoke a function with a specific this value and arguments passed individually. - apply() is similar, but arguments are passed as an array. - bind() creates a new function with a fixed this value, without immediately invoking it. These methods are super useful when reusing functions across different objects or managing context in callbacks and event handlers. 💡 🔸 Next up: I’ll be exploring arrow functions and how they handle this differently! #DefenseChallenge #JavaScript #WebDevelopment #LearningInPublic #FrontendDevelopment #100DaysOfCode
To view or add a comment, sign in
-
-
🚀 Day 80 of #100DaysOfCode Today I learned about object literals in JavaScript. Object literals are a simple way to store data as key-value pairs inside curly braces. This makes it easy to organize related information and lets you access values using property names. Object literals are great for creating flexible and readable code. #JavaScript #ObjectLiterals #Learning #100DaysOfCode
To view or add a comment, sign in
-
-
As I continue learning JavaScript, I’m diving deeper into its core concepts. Today, I explored Hoisting, and it helped me understand how JavaScript handles code behind the scenes. What I learned about Hoisting: ~JavaScript moves variable and function declarations to the top of their scope before executing the code. This means: ~Functions can be called before they are declared ~Variables are initialized with undefined during the compilation phase ~Understanding execution context is crucial for clean and predictable code Why this concept is important? Hoisting may seem simple, but it forms the foundation of how JavaScript interprets code. It improves my understanding of: ~Execution phases ~Scope behavior ~Memory allocation ~Writing more structured and bug-free code My learning journey I’m currently focusing on strengthening my fundamentals concepts like: ~Hoisting ~Scope ~Closures ~Event loop ~DOM manipulation These basics are helping me build a strong foundation before moving toward frameworks and advanced topics. Every concept I learn brings me closer to writing cleaner, more efficient JavaScript. #JavaScript #LearningJourney #WebDevelopment #ProgrammingBasics #FrontendDeveloper
To view or add a comment, sign in
-
🚀 Day 285 — JavaScript Got Deeper Than I Expected After getting back on track yesterday, I decided not to slow down. Today was Day 285 of my growth journey, and I went all in on Intermediate JavaScript — this time exploring how objects and functions actually shape everything we build. 💻 Topics I Learned Today: 1️⃣ Creating Multiple Objects • Using Object Literals • Using Factory Functions • Using Constructor Functions (and the new operator) 2️⃣ Factory vs Constructor Functions — when and why to use each 3️⃣ Functions are Objects (a concept that blew my mind 🤯) 4️⃣ Constructor Property — the identity of every object 5️⃣ Built-in Constructor Functions like Date() and its instance methods And yes — I didn’t just watch tutorials. I solved questions and practiced each concept till it made sense in real code. 💪 🧠 My Takeaway: JavaScript isn’t just about syntax; it’s about understanding behavior — how objects, prototypes, and functions work together behind the scenes. Once you “get it,” writing code stops feeling like memorization and starts feeling like creation. ✨ Every day, one step closer — not to perfection, but to mastery through consistency. #JavaScript #WebDevelopment #FrontendDevelopment #FullStackDeveloper #SoftwareEngineering #CleanCode #ReLeveling #CodingJourney #DeveloperCommunity #CareerGrowth #BuildInPublic #NxtWave #CCBP #Consistency #LearningNeverStops #Motivation #Discipline #TechCareer #StudentDeveloper #DailyProgress #PersonalGrowth #GrowthMindset #ShravanSays
To view or add a comment, sign in
-
-
🚀 My Takeaways After Learning Asynchronous JavaScript After spending some time diving deep into asynchronous JavaScript, here’s what I’ve come to realize 👇 💡 In modern JavaScript development, understanding async behavior isn’t optional anymore — it’s essential. 🧠 JavaScript runs on a single thread, and without async operations, our apps would freeze every time we wait for an API call or heavy data processing. ⚙️ That’s where callbacks, promises, and async/await come in — they keep our code responsive, efficient, and user-friendly. #JavaScript #Programming #WebDevelopment #FrontendDevelopment #CodingJourney #LearnToCode #SoftwareEngineering #DeveloperCommunity #100DaysOfCode A quick example 👇
To view or add a comment, sign in
-
-
🎯 Day 1 — Deep Dive into JavaScript Fundamentals Today I started my journey to strengthen the core of JavaScript, and it’s amazing how much depth lies behind the basics! 🚀 Here’s what I learned today: 🧩 Primitive vs Reference Types 🧠 typeof Operator Behavior ⚖️ Difference Between null and undefined 🪄 var vs let vs const and Variable Hoisting ⛔ Temporal Dead Zone (TDZ) 📦 Block Scope vs Function Scope 🔄 Implicit vs Explicit Type Conversion ✅ Truthy and Falsy Values 🔍 Comparison Operators & Type Coercion 🔧 Object to Primitive Conversion (valueOf, toString) 👇 Understanding this in Different Contexts: Global Context Object Methods Constructor Functions Arrow Functions Event Handlers Explicit & Implicit Bindings new Keyword Every topic connected like a puzzle — learning how JavaScript really works behind the scenes makes it even more exciting to code. 💻 #JavaScript #WebDevelopment #Day1 #LearningJourney #Frontend #Coding
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