MCPcopy
hub / github.com/ampproject/amphtml / processMaps

Function processMaps

build-system/eslint-rules/prefer-destructuring.js:87–93  ·  view source on GitHub ↗

* @param {Map[]} maps

(maps)

Source from the content-addressed store, hash-verified

85 * @param {Map[]} maps
86 */
87 function processMaps(maps) {
88 for (let i = 0; i < maps.length; i++) {
89 const map = maps[i];
90 map.forEach(processVariables);
91 map.clear();
92 }
93 }
94
95 /**
96 * @param {*} struct

Callers 1

createFunction · 0.85

Calls 2

clearMethod · 0.65
forEachMethod · 0.45

Tested by

no test coverage detected