Map, Set, WeakMap & WeakSet in JavaScript - Real use case
HTML-код
- Опубликовано: 7 окт 2024
- Here is a simple real time solution on Map, Set, WeakMap and WeakSet in javascript. I am trying to explain with those JavaScript objects with real use case function. If you need more information please leave your comments in the comment section.
#Set #Map #WeakMap #WeakSet #JavaScript
Well explained bro...awesome i was searching for this topic for a long but none of the video explained properly...but u r just awesome...continue keep it up
Do you plan to make more videos on Vanilla JS?
Sure thanks for showing your interest. I will definitely upload videos
Thanks
Thank you so much
8:33 - it is not function name, it's the reference
The getRandom no working :(
function getRandom() {
return Math.round(Math.random(10)*10);
};
console.log(getRandom);
You have to execute it with double parentheses, like: console.log(getRandom());