Weak sets in JavaScript - Basic JavaScript Fast (35)

Опубликовано: 05 Ноябрь 2024
на канале: Begin Coding Fast
585
3

In JavaScript, a weak set is a set that has weak references. If an object in a weak set is deleted outside the weak set declaration, it is also deleted from the weak set. It means that the memory of a weak set can be saved compared to an ordinary set. We also have to notice that the content of a weak set cannot be iterated.

Playlist of my JavaScript course
   • [20 hours] JavaScript tutorial for be...  

Playlist of my HTML5 and CSS3 tutorials
   • [12 hours] HTML and CSS tutorials for...  

Playlist of my algorithm walkthrough
   • Algorithms and data structures | DSA ...  

Playlist of my Java course
   • [14 hours] Java tutorial for beginner...  

Playlist of my Java examples
   • Java projects for beginners | Java pr...  

#javascripttutorial #javascriptfullcourse #begincodingfast #javascript #javascriptweaksets