All interview questionsIn JavaScript, what is a concrete example of iterator protocol?IntermediateAnswerA generator returns an iterator for for-of.