Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d3/d3-array
/ entries
Function
entries
test/index-test.js:63–67 ·
view source on GitHub ↗
(map, depth)
Source
from the content-addressed store, hash-verified
61
});
62
63
function
entries(map, depth) {
64
return
depth > 0
65
? Array.from(map, ([k, v]) => [k, entries(v, depth - 1)])
66
: map;
67
}
Callers
1
index-test.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…