Tin mới
JavaScript: Scripting language
Web APIs: Programming interfaces
Structuring content with HTML module
Dynamic scripting with JavaScript module
The has method checks if a value is in the set, using an approach that is, on average, quicker than testing most of the elements that have previously been added to the set. In particular, it is, on average, faster than t
Note: The set-like protocol invokes the keys() method instead of [Symbol.iterator]() to produce elements. This is to make maps valid set-like objects, because for maps, the iterator produces entries but the has() method
Browser Set-like objects (or "setlike objects") are Web API interfaces that behave in many ways like a Set.
The constructor function that is used to create derived objects.
The constructor function that created the instance object. For Set instances, the initial value is the Set constructor.
The constructor function that created the instance object. For Set instances, the initial value is the Set constructor.
The initial value of the [Symbol.toStringTag] property is the string "Set". This property is used in Object.prototype.toString().
The initial value of the [Symbol.toStringTag] property is the string "Set". This property is used in Object.prototype.toString().
Inserts the specified value into this set, if it is not already present.
Inserts the specified value into this set, if it is not already present.
Inserts the specified value into this set, if it is not already present.
Inserts the specified value into this set, if it is not already present.
Inserts the specified value into this set, if it is not already present.