js-partial-foreach

A partial to provide a better foreach capability similar to PHP's foreach construct by differentiating whether the callback function expects a value or a pair of key-value.

Browse on unpkg