Map() in JavaScript: complete explanation with examples

Опубликовано: 16 Октябрь 2024
на канале: Code With Hanoak
96
3

😀 Hi There, in this video, we'll be learning all about Map() in Javascript. we'll get to know the advantages of Map over objects. And also we'll be learnig all the Map() methods like: map.set(), map.has(), map.get(), map.delete(), map.clear(), and map.size.

🔴 Subscribe for more videos just like this:    / @codewithhanoak  

🤔 What is Map(): The Map object holds key-value pairs and remembers the original insertion order of the keys. Any value (both objects and primitive values) may be used as either a key or a value

👉 Set() in Javascript:    • Set() in JavaScript complete explanation  
👉 Setters & setters in Javascript:    • JavaScript Course : getters and sette...  

🕘Timestamps:
0:36 - What is Map()
6:45 - Adding elements to the Map()
11:01 - Deleting elements from the Map()
12:48 - How to get elements from the Map()
13:22 - How to check elements in the Map()
14:45 - Checking the size of the Map()
15:15 - Clearing the Map()

🎬Watch my most recent videos:    / @codewithhanoak  

🎬 Watch full JavaScript course:    • Javascript course: Course Overview  


--------------------------- ABOUT ME ------------------------
I'm Hanoak, a software developer, online instructor, tech blogger, and also a learner. Want to have a talk with me? Feel free to reach out to me via various handles mentioned below 👇, I'm happy to see you there.😄

-------------------------------📲 SOCIAL 📲-------------------------------

You can reach me out on :
🔗 LinkedIn:   / hanoak  
🐦Twitter:   / _hanoak  
📜 Blog:   / hanoak  

#MapInJavascript #MapExplained#JavaScriptCourse #JavaScriptTutorial