It's 5:45 am & I am still looking at my dreams. Today[2/28/2026] is day 23 of learning javascript Today & tommorow i will learn are: 1. Difference between let, const & var 2. How to use the default parameter 3. Template string, Multiline string, Dynamic string 4. Arrow Function Syntax, params 5. Spread Operator, Array Max, Copy Arrays 6. Object & Array destructuring 7. Keys, Values, Entries, Delete, Seal, Freeze 8. Accessing Object Data: Nested Object, Optional Chaining 9. Looping Object 10. Primitive Type, Non Primitive Type 11. Null Vs Undefines 12. Truthy & Falsy Values 13. ==, === , implicit conversion 14. Block Scope, Global Scope, Simple Unders. of Hoisting 15. Closure 16. Callback Function & pass different function 17. Function Arguments, pass by ref. pass by value 18. Map, ForEach 19. Filter, Find, Reduce #letsconnect #programmer #frontenddeveloper #mernstakedeveloper #Coding
More Relevant Posts
-
Understanding Sets, Maps, and Objects in JavaScript: When and How to Use Each Learn the differences between JavaScript's Set, Map, and plain Object data structures, their performance characteristics, and real‑world use cases. This tutorial walks you through practical examples, best practices, and guidelines for choosing the right structure for your code. Read the full article 👇 https://lnkd.in/gpUYsFux #JavaScript #WebDevelopment #Programming #Tech #Coding #JavaScriptSet #JavaScriptMap #DataStructures #FrontendDevelopment #JSBestPractices #DigitalTransformation #FutureOfWork
To view or add a comment, sign in
-
-
JavaScript’s sort() can silently break your algorithms. I was solving LeetCode #350 (Intersection of Two Arrays II) using the two-pointer approach and hit an unexpected issue. I sorted the arrays like this: nums.sort() It looked fine… until it wasn’t. Example: [1, 2, 10, 5].sort() // → [1, 10, 2, 5] Why? Because JavaScript sorts lexicographically (as strings) by default. So the engine actually compares: "1", "10", "2", "5" Correct numeric sorting requires a comparator: nums.sort((a, b) => a - b) Without this, algorithms that rely on sorted arrays (binary search, two-pointer techniques, etc.) can produce incorrect results. #JavaScript #WebDevelopment #Programming #CodingTips #LeetCode #Algorithms #SoftwareEngineering #FrontendDevelopment
To view or add a comment, sign in
-
-
Day 3 of 30 days of javascript, Leetcode problem - 2704 The problem statement asked to create a function "expect" that needs to return an object with two functions "toBe" and "notToBe" where in the value assigned to "toBe" , if is same as the parent function, it should return true, else it should throw an error, "Not Equal" and... where in the value assigned to "notToBe", if is not same as the parent function should return true, or else it should throw an error "Equal". This problem taught me the understanding of nesting objects in function body, I deep dived into closures and how a object can access the parent through lexical scope. #coding #logic #leetcode #programming #lexicalscope #MERN #web #webdevelopment #goals
To view or add a comment, sign in
-
-
🚀 Understanding Memoization in JavaScript When working with functions that perform heavy calculations, running the same computation again and again can slow down your application. This is where Memoization becomes very useful. Memoization is an optimization technique where the result of a function is stored after it is executed for the first time. If the function is called again with the same input, the stored result is returned instead of recalculating it. This helps to: ✔️ Reduce unnecessary computations ✔️ Improve performance ✔️ Make applications faster and more efficient In this example, once a value is calculated, it is saved in the cache, so the function doesn’t need to compute it again. In simple terms, Memoization remembers previous results to make future operations faster. It’s commonly used in recursive algorithms, dynamic programming, and performance optimization in JavaScript applications. #JavaScript #WebDevelopment #FrontendDevelopment #Programming #Coding #SoftwareDevelopment #Developers #TechLearning #LearnJavaScript #PerformanceOptimization #CodingJourney #TechCommunity
To view or add a comment, sign in
-
-
JavaScript's array methods map, filter, and reduce are game changers for developers aiming to write clean, efficient, and maintainable code. These methods allow us to transform, select, and aggregate data in arrays with simple, expressive functions. Whether you're doubling numbers, filtering specific data points, or calculating sums, mastering these built-in functions can dramatically improve your code readability and performance. In my latest article, I share practical examples and best practices to help you unlock the full potential of these methods. How do you use map, filter, or reduce in your projects? Let's discuss strategies to leverage these tools for better coding outcomes. #javascript #webdevelopment #programming #codingtips #softwareengineering Check out the actual blog here : https://lnkd.in/gcGRNu2v
To view or add a comment, sign in
-
🚀 LeetCode Problem Solved – Reverse String Solved the Reverse String problem on LeetCode using JavaScript with an optimized in-place approach. ✅ Key Idea: Reverse the string by swapping characters from the start and end of the same array, modifying it directly without creating any extra array. 🔹 Time Complexity: O(n) 🔹 Space Complexity: O(1) – No extra space used (in-place modification) 💡 Approach: • Use a two-pointer technique • One pointer starts from the beginning of the array • Another pointer starts from the end • Swap characters and move both pointers toward the center until they meet 📊 Result ✔️ All test cases passed ⚡ Runtime: 0 ms 📦 Space Complexity: O(1) Consistently practicing problems like this helps strengthen Data Structures & Algorithms fundamentals and improves problem-solving skills for coding interviews. #leetcode #javascript #dsa #twopointers #programming #codingpractice #softwareengineering
To view or add a comment, sign in
-
-
Sharing beginner-friendly notes on Advanced Functions in JavaScript 🧠 Covered two of the most important concepts every JS developer needs to master, Closures and Higher-Order Functions. The guide walks through how closures "remember" their lexical scope, enabling data privacy, memoization, and function factories. Also explored essential Higher-Order Functions like map, filter, reduce, and practical utilities like debounce, throttle, curry, and compose with clear examples and visual diagrams. A practical guide for understanding how functions truly work under the hood. Feedback and suggestions are welcome! #JavaScript #Coding #Learning #Programming
To view or add a comment, sign in
-
Ever heard of function composition? It's like stacking functions together to create new ones! 🎉 Imagine transforming data in a seamless flow, just like a chain reaction. For instance, let's say you have an array of numbers and you want to double them and then add one. Instead of writing multiple loops, we can compose functions to simplify our code. Exciting, right? 😄 Have you ever used function composition in your projects? How did it change the way you write code? #JavaScript #Coding #FunctionComposition #WebDevelopment #ProgrammingTips
To view or add a comment, sign in
-
-
⚡ 42 seconds → 1 second. This is what happens when Rust enters your JavaScript build pipeline. We migrated our FE linting pipeline from ESLint + 9 plugins to oxlint. Here's what we measured: ESLint v9 + 9 plugins = 42s oxlint 162 rules = 1s Over 6k files, tested on Apple M5 Pro. 42× speedup on a single run, the delta compounds in CI and watch mode. Migration path was straightforward: most ESLint rules had direct equivalents. A few gaps required minor workarounds, nothing blocking. If your lint step is a bottleneck in local DX or CI pipelines, this is worth evaluating seriously. https://lnkd.in/eNQkNqu4 #JavaScript #DeveloperExperience #Rust #oxlint #CI
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
I will be happy if you are connected with me.#letsconnect