README
array-for_each
executes a provided function once per array element.
var arrayForEach = require("@nathanfaucett/array-for_each");
arrayForEach([2, 4, 6], function(value, index, array) {
console.log(value, index, array);
});
executes a provided function once per array element.
<script type="module">
import nathanfaucettArrayForEach from 'https://cdn.skypack.dev/@nathanfaucett/array-for_each';
</script>
executes a provided function once per array element.
var arrayForEach = require("@nathanfaucett/array-for_each");
arrayForEach([2, 4, 6], function(value, index, array) {
console.log(value, index, array);
});