Day 33: JavaScript Map, Set, WeakMap, WeakSet - When & Why to Use Them! 🤩

Pubblicato il: 12 giugno 2025
sul canale di: tapaScript by Tapas Adhikary
3,673
154

In this video, we take a deep dive into JavaScript Collections—Map, Set, WeakMap, and WeakSet. Whether you’re a beginner or brushing up on advanced JavaScript, this session will help you understand when to use each, their key differences, and real-world use cases with clear examples.

✅ You’ll learn:
What are Map, Set, WeakMap, and WeakSet?
Differences between Objects, Arrays, and these collections
When to use and when to avoid each
Real-life scenarios in frontend and backend development
Memory management benefits using WeakMap & WeakSet

Let's GO 🚀. Do not miss it out.

🎯 Perfect for:
JavaScript developers, frontend/backend devs, and anyone preparing for tech interviews.

🔔 Don’t forget to subscribe and hit the bell to get notified when new JavaScript videos drop!
SUBSCRIBE:    / tapasadhikary  
Join as a Member:    / @tapasadhikary  
Follow tapaScript GitHub: https://github.com/tapascript

✅ Start 40 Days of JavaScript

   • Day 01: Introduction to JavaScript & Setti...  

Join tapaScript Discord
Join 40 Days of JavaScript Discord:   / discord  

Download the 40 Days of JavaScript Tracker Template:
Link to the template: https://topmate.io/tapasadhikary/382755

Source Code on GitHub
https://github.com/tapascript/40-days... (Please give the repo a STAR).

Timecodes
0:00 - Intro & Topics to Learn
03:33 - Objects and Arrays
05:34 - Object & Array Shortcomings
07:42 - Map
09:01 - Create & Initialize Map
12:11 - Adding Map Entries
13:47 - How to Get Map Value?
15:02 - Map Keys
19:39 - Map Properties & Methods
23:29 - MapIterator
29:07 - Convert Object to Map
32:15 - Convert Map to Object
33:21 - Convert Map to Array
34:42 - Map vs Object
37:42 - Set
38:26 - Create & Initialize Set
39:54 - Set Properties & Methods
43:17 - SetIterator
45:39 - Set and Array
49:29 - Set and Objects
55:20 - Set Theories
01:06:29 - WeakMap
01:17:51 - WeakSet
01:20:06 - Tasks

👋 Like my work? Thank You. You can support & sponsor me:
Join as a Member:    / @tapasadhikary  
Sponsor Me: https://github.com/sponsors/atapas
Sponsor my Blog: https://blog.greenroots.info/sponsor

🤝 My Links:
Blog: https://blog.greenroots.info/
Follow on X(Twitter):   / tapasadhikary  
Connect on LinkedIn:   / tapasadhikary  
Follow My Work on GitHub: https://github.com/atapas

About Me:
Tapas Adhikary is an Educator at tapaScript, a Tech enthusiast, Writer, YouTuber, and maintainer/contributor of open-source projects. He is a full-stack developer with vast experience building SaaS solutions. He is the founder of the ReactPlay platform, which is driven by open-source projects and a fast-growing community.

You can find more about him at https://tapasadhikary.com.

#javascript #map #set #WeakMap #WeakSet #JavaScriptCollections #webdevelopment #codingtutorials #frontenddeveloper #backend


In questa pagina del sito puoi guardare il video online Day 33: JavaScript Map, Set, WeakMap, WeakSet - When & Why to Use Them! 🤩 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato tapaScript by Tapas Adhikary 12 giugno 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,673 volte e gli è piaciuto 154 spettatori. Buona visione!