The for…of loop creates a loop over the Iterable objects. If is helpful to executes loops on the custom iteration or custom behaviour
Read this post on javascripthive.info