MCPcopy
hub / github.com/sveltejs/svelte / forEach

Method forEach

packages/svelte/src/reactivity/map.js:125–128  ·  view source on GitHub ↗

* @param {(value: V, key: K, map: Map ) => void} callbackfn * @param {any} [this_arg]

(callbackfn, this_arg)

Source from the content-addressed store, hash-verified

123 * @param {any} [this_arg]
124 */
125 forEach(callbackfn, this_arg) {
126 this.#read_all();
127 super.forEach(callbackfn, this_arg);
128 }
129
130 /** @param {K} key */
131 get(key) {

Callers 15

map.test.tsFile · 0.45
set.test.tsFile · 0.45
url.test.tsFile · 0.45
to_public_astFunction · 0.45
build_componentFunction · 0.45
build_inline_componentFunction · 0.45
visitFunction · 0.45
check_graph_for_cyclesFunction · 0.45
attribute_matchesFunction · 0.45
add_to_mapFunction · 0.45

Calls 1

#read_allMethod · 0.95

Tested by 14

testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36
testFunction · 0.36