Guest User

Untitled

a guest
Feb 20th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. loopThroughSet(): void {
  2.  
  3. let fruitSet = new Set()
  4. .add('APPLE')
  5. .add('ORANGE')
  6. .add('MANGO');
  7.  
  8. for (let fruit of fruitSet) {
  9. console.log(fruit);
  10. }
  11. }
Add Comment
Please, Sign In to add comment