forEach#

static vectorious.forEach(x, f)#

Equivalent to TypedArray.prototype.forEach.

Arguments:

Examples:

import { forEach } from 'vectorious/core/forEach';

forEach([1, 2, 3], console.log);
// 1 0 [ 1, 2, 3 ]
// 2 1 [ 1, 2, 3 ]
// 3 2 [ 1, 2, 3 ]