InterviewBuddy
All interview questions

In JavaScript, what could go wrong with iterator protocol?

Advanced

Answer

An iterable and an iterator are related but not identical contracts.