MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / forEach

Function forEach

static/js/codemirror/addon/hint/python-hint.js:2–4  ·  view source on GitHub ↗
(arr, f)

Source from the content-addressed store, hash-verified

1(function () {
2 function forEach(arr, f) {
3 for (var i = 0, e = arr.length; i < e; ++i) f(arr[i]);
4 }
5
6 function arrayContains(arr, item) {
7 if (!Array.prototype.indexOf) {

Callers 1

gatherCompletionsFunction · 0.70

Calls 1

fFunction · 0.50

Tested by

no test coverage detected