MCPcopy Create free account
hub / github.com/melonjs/melonJS / forEach

Method forEach

packages/melonjs/src/utils/array-multimap.js:26–32  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

24 this._map.delete(key);
25 }
26 forEach(callback) {
27 this._map.forEach((values, key) => {
28 for (const value of values) {
29 callback(value, key);
30 }
31 });
32 }
33 clear() {
34 this._map.clear();
35 }

Callers 1

getUriFragmentFunction · 0.45

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected