ES6 – Iterator protocol

Hi, in this post I’m going to show you the new iteration protocols of ES6 one is the “iterable protocol” and the other is “iterator protocol“ First that all let me explain that a “Iterator protocol” is a set of rules that an object needs to follow for implement the interface, which when used, a … Continue reading ES6 – Iterator protocol