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
Auf dieser Seite können Sie das Online-Video Weak maps in JavaScript - Basic JavaScript Fast (34) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Begin Coding Fast 08 Oktober 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 574 Mal angesehen und es wurde von 3 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!