jskatas.org Continuously Learn JavaScript. Your Way.

Set: basics

Donate to NGO Julenka. Support Ukranians in need. Julenka is an NGO which my brother founded in 2011 to support Ukranian families and kids in need.
  • Set is a new global constructor function
  • every value in a set is unique
  • the string "1" is different to the number 1
  • even NaN is equal to NaN
  • +0 and -0 are seen as equal