Removes all items from the set.
clear()
let set = new Set() set.add("hello") set.clear() set.has("hello")
false