How it works...

Just like the Set constructor, the WeakSet constructor takes an iterable. Each element of the array is added in turn. We'll note that multiple instances have the same name property. This is, of course, because they are separate Rocket instances, despite having the same name value.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.128.201.165