Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 231 Bytes

set.md

File metadata and controls

9 lines (7 loc) · 231 Bytes

Set

Set is na object that contains a collections of unique values of any type

Duplicates will be striped out

let items = new Set(['one', 'two', 'three', 'one', 'two', 'three']);
console.log(items); // one, two, three