How are Go channels different from JavaScript generators?

Viewed 546

Go channels can be used to communicate in between goroutines. Similarly, the yield and next syntax can be used to communicate between two generators. Am I right in my assumption? If not, where am I wrong?

1 Answers
Related