How does destructuring and spread (...) use the iterator protocol internally? | Iterator and Generator | javascript Interview Questions | NextRound.in