Guest User

Untitled

a guest
Jun 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. const mySet = new Set();
  2.  
  3. mySet.add('a');
  4. mySet.add('b');
  5.  
  6. const mySetEntriesArray = [...mySet.entries()];
  7. /*
  8.  
  9. [
  10. ['a', 'a'],
  11. ['b', 'b']
  12. ]
  13.  
  14. */
Add Comment
Please, Sign In to add comment