add()
appends a new element to the end of a Set object.
adds every value, of any type, only once
is chainable
call without params adds undefined
0, -0 and +0 are equal
Required Knowledge
- basics (Set)
Related Katas
Set
- basics
set.add()
set.delete()
- the API
set.clear()
Difficulty Level
TBD
First Published
29 May 2015
Stats
4 tests to solve