An iteration protocol is a set of rules that an object needs to follow for implementing the interface. When this protocol is used, a loop or a construct can iterate over a group of values of the object.
JavaScript has two iteration protocols known as the iterator protocol and the iterable protocol.