zl.iter

Output js object into a function

This example shows two methods for outputting a list in groups of two elements. Either of the objects zl.iter or zl.group with an argument of ‘2’ will output the a list sent into them two elements at a time in immediate succession. If a list with an odd number of elements is sent into either of the objects, the last message that is outputted will only contain one element.