How does Array.from() use the iterator protocol? What's the difference between passing an iterable vs an array-like object? | Iterator and Generator | javascript Interview Questions | NextRound.in