Skip to main content

Consteach(arr: any, cb: ArrayCB): void

A non-spec compliant fast Array forEach.

remarks

This implementation loops in reverse order.

Parameters:#

NameTypeDescription
arranyThe input array-like to loop through.
cbArrayCBThe callback provided. This iteratee is invoked with three arguments: value, index|key, and arr.

Returns: void

void

Defined in: unsafe/array/each.ts:15

Last updated on