let mySet = new Set([1, 2, 2, 3, 4, 5, 7]);
let myArray = [ ...mySet.add(6)];
//What do you expect to be at index 4?
This Pen is owned by Nick Miloscia on CodePen.
See more by @Lenewtype on CodePen
This Pen doesn't use any external CSS resources.