Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ternjs/tern
/ generic_each.js
File
generic_each.js
test/cases/generic_each.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// Underscore's each function (roughly)
2
var
each =
function
(obj, iterator, context) {
3
if
(obj == null)
return
;
4
if
(Array.prototype.forEach && obj.forEach === Array.prototype.forEach) {
Callers
nothing calls this directly
Calls
1
each
Function · 0.85
Tested by
no test coverage detected