Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
davidl.me
David's Wiki
Search
Search
Log in
Personal tools
Log in
JavaScript: Difference between revisions
Page
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
General
Special pages
Printable version
← Older edit
Newer edit →
JavaScript
(view source)
Revision as of 02:09, 13 June 2021
5 bytes added
,
13 June 2021
→Set
Revision as of 22:41, 4 February 2021
(
view source
)
David
(
talk
|
contribs
)
(
→var vs let, const
)
← Older edit
Revision as of 02:09, 13 June 2021
(
view source
)
David
(
talk
|
contribs
)
(
→Set
)
Newer edit →
Line 257:
Line 257:
my_set.clear();
my_set.clear();
// Returns if key
has
in the set
// Returns
true
if key
was
in the set
my_set.delete(key);
my_set.delete(key);
</syntaxhighlight>
</syntaxhighlight>
David
Bureaucrats
,
Interface administrators
,
Administrators
5,321
edits
Toggle limited content width