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
"Day 29: Mastering JavaScript Operators & Hoisting"
More Relevant Posts
-
🗓️ 𝐃𝐚𝐲 𝟑𝟗 – JavaScript: Objects, Time Events & Operations Today, I explored more about how JavaScript manages and manipulates objects, along with time-based functions.⏱️ 📘 𝑻𝒐𝒑𝒊𝒄𝒔 𝑪𝒐𝒗𝒆𝒓𝒆𝒅: 🧠 𝗢𝗯𝗷𝗲𝗰𝘁 𝗛𝗮𝗻𝗱𝗹𝗶𝗻𝗴 – understanding how objects are stored and traversing their keys 🧩 𝗔𝗿𝗿𝗮𝘆 𝗮𝘀 𝗢𝗯𝗷𝗲𝗰𝘁 – exploring how arrays internally behave like objects ⏰ 𝗧𝗶𝗺𝗲 𝗘𝘃𝗲𝗻𝘁𝘀 – using setTimeout(), setInterval(), and clearing them with clearTimeout() & clearInterval() ⚙️ 𝗢𝗯𝗷𝗲𝗰𝘁 𝗢𝗽𝗲𝗿𝗮𝘁𝗶𝗼𝗻𝘀 – Object.freeze(), Object.seal(), destructuring, and common object methods 🧱 𝘁𝗵𝗶𝘀 𝗞𝗲𝘆𝘄𝗼𝗿𝗱 – understanding its behavior inside different contexts ✅ Solved 𝗟𝗲𝘃𝗲𝗹 𝟭 𝘣𝘦𝘨𝘪𝘯𝘯𝘦𝘳 𝘲𝘶𝘦𝘴𝘵𝘪𝘰𝘯𝘴 on these concepts to strengthen understanding and practical use. #JavaScript #Objects #Sheryians #Cohort2_0 #LearningJourney #FrontendDevelopment Sheryians Coding School Sheryians Coding School Community
To view or add a comment, sign in
-
-
Leveling Up on Day 2 of JavaScript! 📈 We dove headfirst into the essentials today, moving from the why to the how of writing clean JavaScript. A huge shoutout to Harsh Bhaiya for breaking down complex ideas into simple, actionable steps! What I Learned & Practiced: The Essentials: How to get started, why JS is important, and how to link it using the <script> tag. Variable Declarations: Establishing best practices with let and const for better scope management. Browser Toolkit: Mastering console.log for debugging and using prompt/alert for basic user communication. Data Handling: Practicing essential String methods (slice, split, replace, includes)—these are critical for manipulating data from APIs or user inputs! The momentum is real! Excited to keep building on this strong base. #Day2 #JavaScript #JSFundamentals #WebDevelopment #CodingJourney #HarshBhaiya Sheryians Coding School Sheryians Coding School Community
To view or add a comment, sign in
-
-
💻✨ Today’s JavaScript Practice Update ✨💻 Today, I explored and practiced JavaScript loops including for, while, and do...while. 🚀 It was an amazing experience learning how these loops simplify repetitive tasks and make code more efficient. 🔹 For Loop: Perfect for running a set of statements a fixed number of times. 🔹 While Loop: Ideal when the number of iterations isn’t known beforehand. 🔹 Do...While Loop: Ensures code runs at least once before checking the condition. Through hands-on coding, I understood how iteration plays a crucial role in automation, logic building, and performance optimization. This practice helped strengthen my problem-solving skills and boosted my confidence in writing clean, logical, and optimized JavaScript code. #JavaScript #Coding #LearningInPublic #WebDevelopment #ProgrammingJourney #ForLoop #WhileLoop #DoWhileLoop #FrontendDevelopment
To view or add a comment, sign in
-
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
To view or add a comment, sign in
-
-
🗓️ 𝐃𝐚𝐲 𝟑𝟕 – JavaScript: Functions Deep Dive Today’s session focused on understanding 𝘧𝘶𝘯𝘤𝘵𝘪𝘰𝘯𝘴 𝘪𝘯 𝘑𝘢𝘷𝘢𝘚𝘤𝘳𝘪𝘱𝘵 — the true building blocks of the language 💡 📘 𝘾𝙤𝙫𝙚𝙧𝙚𝙙 𝘾𝙤𝙣𝙘𝙚𝙥𝙩𝙨: ⚙️ 𝗙𝘂𝗻𝗰𝘁𝗶𝗼𝗻 𝗕𝗮𝘀𝗶𝗰𝘀 – declaration, parameters, arguments 📥 𝗣𝗮𝗿𝗮𝗺𝗲𝘁𝗲𝗿𝘀 – required, destructured, rest, default 📤 𝗔𝗿𝗴𝘂𝗺𝗲𝗻𝘁𝘀 – positional, default, spread 🧩 𝗛𝗼𝗶𝘀𝘁𝗶𝗻𝗴 – variable vs function hoisting 🔁 𝗖𝗹𝗮𝘀𝘀𝗶𝗰 & 𝗡𝗲𝘀𝘁𝗲𝗱 𝗙𝘂𝗻𝗰𝘁𝗶𝗼𝗻𝘀 – understanding scope and the scope chain ⚡ 𝗜𝗜𝗙𝗘 (𝗜𝗺𝗺𝗲𝗱𝗶𝗮𝘁𝗲𝗹𝘆 𝗜𝗻𝘃𝗼𝗸𝗲𝗱 𝗙𝘂𝗻𝗰𝘁𝗶𝗼𝗻 𝗘𝘅𝗽𝗿𝗲𝘀𝘀𝗶𝗼𝗻) – executing functions instantly 🏗️ 𝗔𝗿𝗿𝗼𝘄 / 𝗙𝗮𝘁 𝗔𝗿𝗿𝗼𝘄 𝗙𝘂𝗻𝗰𝘁𝗶𝗼𝗻𝘀 – concise syntax and lexical this 🕵️ 𝗔𝗻𝗼𝗻𝘆𝗺𝗼𝘂𝘀, 𝗛𝗶𝗴𝗵𝗲𝗿-𝗢𝗿𝗱𝗲𝗿, 𝗖𝗮𝗹𝗹𝗯𝗮𝗰𝗸, 𝗮𝗻𝗱 𝗙𝗶𝗿𝘀𝘁-𝗖𝗹𝗮𝘀𝘀 𝗙𝘂𝗻𝗰𝘁𝗶𝗼𝗻𝘀 – treating functions as values 🧠 𝗣𝘂𝗿𝗲 & 𝗜𝗺𝗽𝘂𝗿𝗲 𝗙𝘂𝗻𝗰𝘁𝗶𝗼𝗻𝘀 – understanding side effects Each concept made me realize how powerful and flexible functions are in JavaScript! 🚀 #JavaScript #Functions #FrontendDevelopment #LearningJourney #Sheryians #Cohort2_0 Sheryians Coding School Sheryians Coding School Community
To view or add a comment, sign in
-
-
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
-
-
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
-
Hello 𝗲𝘃𝗲𝗿𝘆𝗼𝗻𝗲! 👋, Ever wondered why your JavaScript code sometimes calculates things differently than you expected? The answer often lies in 𝗢𝗽𝗲𝗿𝗮𝘁𝗼𝗿 𝗣𝗿𝗲𝗰𝗲𝗱𝗲𝗻𝗰𝗲! It's the silent rule-maker of your expressions, and mastering it is crucial for writing reliable code. I've put a detailed article diving deep into how 𝗝𝗦 𝗱𝗲𝗰𝗶𝗱𝗲𝘀 𝘁𝗵𝗲 𝗼𝗿𝗱𝗲𝗿 𝗼𝗳 𝗲𝘅𝗲𝗰𝘂𝘁𝗶𝗼𝗻. From basic arithmetic to complex logical operations, understanding precedence will instantly level up your skills. I'm also proud to share that I wrote this article completely from scratch 𝗻𝗼 𝗔𝗜 𝗮𝘀𝘀𝗶𝘀𝘁𝗮𝗻𝗰𝗲 𝗵𝗲𝗿𝗲! Just pure, hands-on learning and explanation. Ready to demystify JS expressions? Read the full piece here: https://lnkd.in/gcBHaZey Take a look, let me know your thoughts, and drop a 𝗰𝗼𝗺𝗺𝗲𝗻𝘁 with any suggestions or 𝗼𝗽𝗶𝗻𝗶𝗼𝗻𝘀 on the article! I appreciate the feedback. #JavaScript #WebDev #Coding #Hashnode #OperatorPrecedence #JSFundamentals #Programming
To view or add a comment, sign in
-
-
I Finally Understood Something Every JavaScript Learner Struggles With The REAL difference between var, let, and const — and why it matters. Today I studied variables in JavaScript, and honestly… I didn’t expect such small keywords to make such a BIG difference in how code works. Here’s the simplest comparison of them : var = Old - Function-scoped - Can be redeclared - Can be updated - Hoisted (but not safely) let – The modern choice - Block-scoped - Can be updated - Cannot be redeclared in the same scope Good for values that will change const – The unchangeable constant - Block-scoped - Cannot be updated - Cannot be redeclared Best for fixed values Why this actually matters Choosing the right one means: Cleaner code Fewer errors Better debugging More control over your logic Learning this today really boosted my understanding of how JavaScript works — excited to keep improving! If you're also learning JavaScript, let’s connect and grow together! #JavaScript #WebDevelopment #FrontendDevelopment #CodingJourney #LearnToCode #ProgrammingBasics #JSVariables #TechLearning #DevelopersCommunity #CodeNewbie #RoshaanLearnsCode
To view or add a comment, sign in
-
-
𝗗𝗮𝘆 𝟯𝟵: From Object Internals & this Keyword to Asynchronous JavaScript! 🤯 Today's session at the AI Powered Cohort was one of the most critical yet. We tackled some of the most powerful (and notoriously tricky) concepts in JavaScript. A huge thank you to Harsh Vandana Sharma and Sheryians Coding School for navigating us through this! Here's a breakdown of what we covered: 𝗢𝗯𝗷𝗲𝗰𝘁 𝗜𝗻𝘁𝗲𝗿𝗻𝗮𝗹𝘀: We went beyond just using objects and learned how they truly work 𝗦𝘁𝗼𝗿𝗮𝗴𝗲: How objects are stored by reference in memory (unlike primitive types). 𝗜𝘁𝗲𝗿𝗮𝘁𝗶𝗼𝗻: How to traverse the keys of an object (e.g., using for...in). Arrays as Objects: The "aha!" moment that arrays are just a special type of object with numbered keys. 𝗔𝘀𝘆𝗻𝗰𝗵𝗿𝗼𝗻𝗼𝘂𝘀 𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁 (𝗧𝗶𝗺𝗶𝗻𝗴 𝗘𝘃𝗲𝗻𝘁𝘀): We took our first step into async programming! 𝘀𝗲𝘁𝗧𝗶𝗺𝗲𝗼𝘂𝘁(): To delay the execution of a function. 𝘀𝗲𝘁𝗜𝗻𝘁𝗲𝗿𝘃𝗮𝗹(): To run a function repeatedly at a specific interval. 𝗰𝗹𝗲𝗮𝗿𝗧𝗶𝗺𝗲𝗼𝘂𝘁() & 𝗰𝗹𝗲𝗮𝗿𝗜𝗻𝘁𝗲𝗿𝘃𝗮𝗹(): The crucial methods for stopping our timers and preventing memory leaks. 𝗔𝗱𝘃𝗮𝗻𝗰𝗲𝗱 𝗢𝗯𝗷𝗲𝗰𝘁 𝗢𝗽𝗲𝗿𝗮𝘁𝗶𝗼𝗻𝘀: We learned how to control and manipulate objects with precision. 𝗢𝗯𝗷𝗲𝗰𝘁.𝗳𝗿𝗲𝗲𝘇𝗲() & 𝗢𝗯𝗷𝗲𝗰𝘁.𝘀𝗲𝗮𝗹(): To make objects immutable or prevent new properties. 𝗗𝗲𝘀𝘁𝗿𝘂𝗰𝘁𝘂𝗿𝗶𝗻𝗴: The modern, clean syntax for extracting properties from objects and arrays. 𝗢𝗯𝗷𝗲𝗰𝘁 𝗠𝗲𝘁𝗵𝗼𝗱𝘀 & 𝘁𝗵𝗶𝘀 𝗞𝗲𝘆𝘄𝗼𝗿𝗱: We tackled the infamous this keyword, understanding how its value is determined by the context in which a function is called. 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗮𝗹 𝗔𝗽𝗽𝗹𝗶𝗰𝗮𝘁𝗶𝗼𝗻: We didn't just learn theory! We immediately applied all these concepts by solving a long list of practical questions (as seen in the screenshot!). This really helped solidify everything from object creation to setTimeout. Understanding the this keyword and timing events feels like unlocking a new level in development. #Day39 #CodingJourney #AIpoweredCohort #JavaScript #AsyncJS #setTimeout #thisKeyword #Objects #WebDevelopment #Programming #SheryiansCodingSchool #HarshVandanSharma
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