🚀 Day 22 of My JavaScript Learning Journey Today I learned how to create Array Prototype Last in JavaScript. This method helps us easily get the last element of an array. If the array is empty, it returns -1. By extending Array.prototype, we can create a custom method that works with any array. ✨ What I learned today: ✅ Understanding Array.prototype ✅ Extending built-in JavaScript objects ✅ Accessing the last element of an array ✅ Writing reusable utility methods Learning about prototypes helps understand how JavaScript objects really work under the hood ⚡ #Day22 #JavaScript #ArrayPrototype #WebDevelopment #CodingJourney #LearningInPublic #coddy
Extending Array Prototype in JavaScript
More Relevant Posts
-
Today in our Web Cohort session, we explored one of the most interesting concepts in JavaScript — the Event Loop. At first, JavaScript feels simple because it runs on a single thread. But when you start dealing with asynchronous tasks like API calls, timers, and promises, the real magic begins. Because of this system, JavaScript can handle many things at once without blocking the main thread. Understanding the Event Loop, really changes how you think about asynchronous programming in JavaScript. Great learning session today! 🚀 Looking forward to diving deeper into more JavaScript internals. #chaiaurcode #chaicode #JavaScript #EventLoop
To view or add a comment, sign in
-
-
Day 10 of Learning JavaScript 🚀 Today I explored the difference between: for loop vs forEach() Observation: • for loop → more control • forEach → cleaner and readable Still learning when to use which — but getting clarity. #javascript #frontenddeveloper
To view or add a comment, sign in
-
Work in progress 💻 Deep in the code today, building out new functionality for Scrimba Advance JavaScript. Sometimes the best commits are the ones that say "promise" twice because that's exactly what clean, asynchronous code delivers. Those small, focused commits? That's where the real progress happens. 𝖶𝖺𝗇𝗍 𝗍𝗈 𝗅𝖾𝖺𝗋𝗇 coding click 𝗁𝖾𝗋𝖾 👉🏽 : https://shorturl.at/cESup #WebDevelopment #JavaScript #Coding
To view or add a comment, sign in
-
-
🚀 Day 4 of My JavaScript Learning Journey Today I learned about the building blocks of JavaScript code, which help the JavaScript engine understand and process programs. 📌 Key concepts I explored: • Tokens – The smallest units of code in the source text. • Keywords – Reserved words that have special meaning in JavaScript (like if, for, let, etc.). • Identifiers – User-defined names for variables, functions, or objects. • Literals – Fixed values written directly in the code (like "hello", 42, true). ⚙️ During the parsing phase, the JavaScript engine reads the source code and converts it into a sequence of tokens. These tokens help build the structure of the program and allow the engine to execute it correctly. Step by step, I’m strengthening my understanding of JavaScript fundamentals and how code is processed internally. 💻✨ #JavaScript #WebDevelopment #FrontendDevelopment #CodingJourney #LearningInPublic #DeveloperJourney #ProgrammingBasics
To view or add a comment, sign in
-
-
Built a Dark Mode Toggle using JavaScript 🌙 | DOM Project This week, I worked on a simple but practical project — a Dark Mode Toggle using DOM manipulation as part of my cohort learning. -> Used DOM selectors to target elements ->Handled click events to switch themes ->Toggled classes to change styles ->Improved understanding of event-driven programming -> Focused on writing clean and simple logic Grateful for the guidance and structure provided by Suraj Kumar Jha — the learning experience becomes much better with the right mentorship. Hitesh Choudhary |Piyush Garg | Akash Kadlag #TypeScript #ExpressJS #WebDevelopment #FullStackDevelopment #BackendDevelopment #Cohort26 #chaiaurcode
To view or add a comment, sign in
-
If you're stuck while learning JavaScript, try this: 1️⃣ Break the problem into smaller parts 2️⃣ Solve one part at a time 3️⃣ Test your code step by step This reduces confusion and builds confidence. #codingtips #frontenddeveloper
To view or add a comment, sign in
-
Javascript concept: var vs let vs const I used var everywhere when I started learning JavaScript… Everything worked… until it didn’t. var a = 10; let b = 20; const c = 30; Then I learned: var ignores block scope ❌ let respects it ✅ const prevents reassignment 🔒 💡 Now my rule: → Use const by default → Use let only when needed #JavaScript #WebDevelopment #Frontend #Coding
To view or add a comment, sign in
-
🚀 Day 28 of My JavaScript Learning Journey Today I learned about the Event Emitter pattern in JavaScript ⚡ An Event Emitter allows us to create, listen, and trigger custom events. This pattern is widely used in real-world applications like Node.js and frontend frameworks. It helps in building loosely coupled and scalable systems. ✨ What I learned today: ✅ Understanding Event-Driven Programming ✅ Creating custom events ✅ Subscribing using on() ✅ Triggering events using emit() Event Emitters are powerful for building modular and scalable applications 🚀 #Day28 #JavaScript #EventEmitter #WebDevelopment #CodingJourney #LearningInPublic #coddy #100DaysOfCode #Developers
To view or add a comment, sign in
-
-
JavaScript 20Days Challenge 🚀 Consistency continues! Today marks Day 3 of my 20-day JavaScript learning challenge, where I focus on learning JavaScript concepts and building small projects daily. 🎨 Day 3 Project: Random Background Colour Generator Today I built a simple but interactive Random Background Colour Generator using JavaScript. When the user clicks the button, the page background changes to a randomly generated color and displays the HEX color code on the screen. 💡 Concepts I practiced today: • Generating random values using Math.random() • Converting numbers to HEX color codes • DOM manipulation with querySelector() • Updating UI dynamically with innerText • Handling button click events This small project helped me understand how JavaScript can dynamically change styles and create interactive UI experiences. 📅 Day 3/20 completed — learning, building, and improving every day. #JavaScript #WebDevelopment #FrontendDevelopment #CodingJourney #BuildProjects #JS #Github #MernStack
To view or add a comment, sign in
-
I’m starting something new today. For the next few weeks, I’m going to learn JavaScript seriously and I’ll be documenting the entire journey here on LinkedIn. No skipping concepts. No pretending I know things I don’t. Just learning step by step and sharing what I understand each day. Why am I doing this publicly? Because learning in public keeps you accountable. And sometimes the best way to understand something is to explain it to others. Starting from the basics: → JavaScript fundamentals → Variables, functions, loops → DOM manipulation → APIs and async JavaScript → and eventually moving towards React Every day I’ll post one concept I learned, explained in simple terms. If you’re also learning JavaScript or you already work with it feel free to follow along, share advice, or correct me when I’m wrong. Let’s build and learn together. Day 1 starts tomorrow. #LearningInPublic #JavaScript #WebDevelopment #100DaysOfCode #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