🚀 Day 2 of JavaScript Practice | LeetCode – 30 Days of JavaScript Today was all about understanding array transformations and callbacks in JavaScript. ✅ Problems solved today: Apply Transform Over Each Element in Array Filter Elements from Array Array Reduce Transformation 📌 Key learnings: How map, filter, and reduce work internally The importance of callbacks and accumulator logic Writing solutions without using built-in methods to strengthen fundamentals Slow progress, but solid foundations. Consistency over motivation 💪 On to Day 3 🚀 #JavaScript #LeetCode #30DaysOfJavaScript #ProblemSolving #Consistency #LearningInPublic #WebDevelopment
JavaScript Practice on LeetCode Day 2: Array Transformations and Callbacks
More Relevant Posts
-
🚀 Today I learned something interesting in JavaScript — the Symbol datatype - one of the most unique and underrated primitive datatypes in JavaScript. 👉 A Symbol creates a value that is always unique, even if two symbols look the same. 🔹 Why do we even need Symbol? Sometimes we want: ✅ Unique property names ✅ No accidental overwriting ✅ Hidden/internal object properties ✅ Safer large-scale applications Symbols solve these problems cleanly. 🔹 Best Use Case 💡 Unique Object Keys (avoid conflicts) - Perfect when multiple developers/libraries are working on the same object.
To view or add a comment, sign in
-
-
#Day 26 / 100 – JavaScript Practice & Error Handling 📌 Today I focused on understanding modern JavaScript behavior and applied it by building a Login Form with validation. ✅worked on today: • Deep understanding of this keyword • Error handling using try & catch • Writing cleaner code with arrow functions • Learned implicit return in arrow functions • Used setTimeout and setInterval for timed execution • Explored how this behaves inside arrow functions • Practiced questions to strengthen concepts 🔧 Practice: Built a Login Form UI and handled input validation & errors using JavaScript logic. Day 26 complete ✅ 👍🏻 🚀 #Day26 #JavaScript #ErrorHandling #ArrowFunctions #FrontendDevelopment #LearningByDoing #100DaysOfCode
To view or add a comment, sign in
-
Most JavaScript developers don’t understand the Event Loop. They memorize rules and guess outputs. And that’s exactly why: - Promise beats setTimeout - await “pauses” code but not the way you think - setImmediate suddenly runs first - production bugs feel random The Event Loop isn’t magic. But the way it’s taught usually is ❌ So I broke it down the way I wish I had learned it: → real code → real debugging → zero hand-waving If you’ve ever been confused by async behavior or struggled with Event Loop interview questions, this will click. 🎥 Watch here: https://lnkd.in/dsgF5uJn (Warning: you’ll stop guessing outputs after this.) #JavaScript #NodeJS #EventLoop #AsyncJavaScript #JavaScriptInterview #WebDevelopment #SoftwareEngineering
You Think You Know the JavaScript Event Loop — Until You See This
https://www.youtube.com/
To view or add a comment, sign in
-
🚀 Day 20 of #100DaysOfCode — Mastering Strings & Arrays in JavaScript 💻🔥 Today was all about core JavaScript fundamentals — the building blocks of everything. 🧵 Strings in JS: ✅ String Methods ✅ trim() ✅ toUpperCase() & toLowerCase() ✅ indexOf() ✅ slice() ✅ replace() & repeat() ✅ Method Chaining 🔥 Learned: Strings are immutable in JavaScript Understanding immutability changed how I think about string operations. 📦 Arrays in JS: ✅ What are Arrays? ✅ Visualizing Arrays ✅ Creating Arrays ✅ Arrays are Mutable ✅ Array Methods ✅ indexOf() & includes() Big realization today 👇 👉 Strings are immutable 👉 Arrays are mutable That small difference makes a BIG impact in logic building. Consistency check ✅ 20 days done. Discipline > Motivation. On to Day 21 🚀 #100DaysOfCode #Day20 #JavaScript #WebDevelopment #FrontendDeveloper #CodingJourney #StudentDeveloper #Consistency
To view or add a comment, sign in
-
https://lnkd.in/diyD-KU3 slice vs splice in JavaScript — a small concept that makes a big difference. Understanding which array methods mutate data and which don’t is crucial for writing predictable and bug-free code, especially in frontend frameworks. Sharing a quick visual breakdown for anyone revising JavaScript fundamentals. Which array method confused you the most when you started? #JavaScriptDevelopers #FrontendDevelopment #ProgrammingBasics #DevelopersOfLinkedIn #ContinuousLearning
slice vs splice explained 🍕A quick JavaScript concept every developer must know.
https://www.youtube.com/
To view or add a comment, sign in
-
🚀 JavaScript Basics – var vs let vs const While revising core concepts, I refreshed my understanding of variable declarations in JavaScript. Here’s a quick breakdown: 🔹 var • Function scoped • Can be redeclared • Can be updated 🔹 let • Block scoped • Cannot be redeclared in the same scope • Can be updated 🔹 const • Block scoped • Cannot be redeclared • Cannot be reassigned 💡 Best Practice: Use const by default. Use let when the value needs to change. Avoid using var in modern JavaScript. Strong fundamentals = Strong development skills. #javascript #webdevelopment #frontenddeveloper #coding #learninginpublic #100DaysOfCode
To view or add a comment, sign in
-
-
JavaScript started making real sense when I stopped memorizing syntax and focused on understanding what happens behind the scenes. Through #NamasteJavaScript by Akshay Saini 🚀, I gained clarity on: • Execution context and closures • Hoisting and the scope chain • The event loop and asynchronous behavior • The reasons behind JavaScript’s design and behavior Building strong fundamentals genuinely changes how you approach and write code. #JavaScript #WebDevelopment #LearningJourney #SoftwareEngineering
To view or add a comment, sign in
-
🚀 Day 912 of #1000DaysOfCode ✨ Prototype-Based Inheritance in JavaScript JavaScript doesn’t use classical inheritance like many other languages — it follows a prototype-based inheritance model. In today’s post, I’ve explained how prototype-based inheritance works in JavaScript in a simple and structured way. You’ll understand how objects are linked, how properties are shared, and how the prototype chain actually behaves behind the scenes. If you’ve ever been confused about `__proto__`, `prototype`, or how inheritance really works in JS, this post will help you build strong conceptual clarity. 👇 Did prototype inheritance confuse you when you first learned JavaScript? #Day912 #learningoftheday #1000daysofcodingchallenge #FrontendDevelopment #WebDevelopment #JavaScript #React #Next #CodingCommunity #Prototype
To view or add a comment, sign in
-
🚀 Day 910 of #1000DaysOfCode ✨ Understanding `setTimeout` in JavaScript `setTimeout` looks simple — but it plays a powerful role in how JavaScript handles asynchronous behavior. In today’s post, I’ve explained how `setTimeout` actually works, how it interacts with the event loop, and why timing in JavaScript isn’t always as straightforward as it seems. If you’ve ever been confused about execution order, delays, or async behavior in JS, this post will help you build a much clearer mental model. 👇 Have you ever been surprised by how `setTimeout` behaves? Let’s discuss in the comments! #Day910 #learningoftheday #1000daysofcodingchallenge #FrontendDevelopment #WebDevelopment #JavaScript #React #Next #CodingCommunity #AsyncJavaScript
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