MCPcopy Create free account
hub / github.com/breck7/scroll / formatLookup

Function formatLookup

external/.d3.js:16391–16393  ·  view source on GitHub ↗
(names)

Source from the content-addressed store, hash-verified

16389}
16390
16391function formatLookup(names) {
16392 return new Map(names.map((name, i) => [name.toLowerCase(), i]));
16393}
16394
16395function parseWeekdayNumberSunday(d, string, i) {
16396 var n = numberRe.exec(string.slice(i, i + 1));

Callers 1

formatLocaleFunction · 0.85

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected