In a weak map of JavaScript, when the key in object form is deleted outside the weak map, both the key and the corresponding value is also deleted in the weak map. Therefore, a weak map can save memory that an ordinary map cannot. In ordinary maps, both the key and value are still retained in the ordinary map when the key in object form is already deleted outside the map.
Playlist of my JavaScript course
• [20 hours] JavaScript full course for begi...
Playlist of my HTML5 and CSS3 tutorials
• [12 hours] HTML and CSS full course for be...
Playlist of my algorithm walkthrough
• Algorithms and data structures | DSA cours...
Playlist of my Java course
• [14 hours] Java full course for beginners ...
Playlist of my Java examples
• Java projects for beginners | Java project...
#javascripttutorial #javascriptfullcourse #begincodingfast #javascript #javascriptweakmaps
Sur cette page du site, vous pouvez voir la vidéo en ligne Weak maps in JavaScript - Basic JavaScript Fast (34) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Begin Coding Fast 08 octobre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 574 fois et il a aimé 3 téléspectateurs. Bon visionnage!