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
On this page of the site you can watch the video online Weak maps in JavaScript - Basic JavaScript Fast (34) with a duration of hours minute second in good quality, which was uploaded by the user Begin Coding Fast 08 October 2022, share the link with friends and acquaintances, this video has already been watched 574 times on youtube and it was liked by 3 viewers. Enjoy your viewing!