re: TIL: Symbols can be used to override for..of in Javascript VIEW POST

FULL DISCUSSION
 

The * is used to define that method as a generator function which allows you to use the yield keyword.

 
code of conduct - report abuse