JS 7
//we add new elements to a set with .add()
let set= new Set()
set.add(1)
set.add( {tin: 10, ten:"dieci"})
//we can use .size property to count the elements in it
let uno= new Set()
uno.add(1)
uno.add(1)
uno.add({uno: 1})
uno.add({uno: 1)}
uno.size //Set(3) {1, {…}, {…}}
//the 2 objects arent strict equals so it will addLast updated