TypeScript Iterators
Channel: ProgramArtist
Date: 2017-09-29

In this episode I talk about iterators in TypeScript
00:13 What is an iterator?
00:33 for-in vs for-of difference. Demonstrate using an array
02:10 What exactly for-in iterates over? Demonstrate using a set
05:06 What exactly for-of iterates over? Demonstrate using a simple object
06:34 Define an iterator for an object

You can see all the code here:
https://github.com/slavik57/typescript-playground

TypeScript Generators:
https://youtu.be/zYTWAqwCoR4

TypeScript Symbols:
https://youtu.be/v9P5R5APxuU

Learn TypeScript:
https://www.youtube.com/playlist?list=PLtm06noQc9vmfoC4U0w90HTIRzpVKeXlC