Weak maps in JavaScript - Basic JavaScript Fast (34)

Pubblicato il: 08 ottobre 2022
sul canale di: Begin Coding Fast
574
3

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


In questa pagina del sito puoi guardare il video online Weak maps in JavaScript - Basic JavaScript Fast (34) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Begin Coding Fast 08 ottobre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 574 volte e gli è piaciuto 3 spettatori. Buona visione!