MCPcopy Index your code
hub / github.com/ampproject/amphtml / forEach

Method forEach

src/core/data-structures/priority-queue.js:75–80  ·  view source on GitHub ↗

* @param {function(T):*} callback

(callback)

Source from the content-addressed store, hash-verified

73 * @param {function(T):*} callback
74 */
75 forEach(callback) {
76 let index = this.length;
77 while (index--) {
78 callback(this.queue_[index].item);
79 }
80 }
81
82 /**
83 * Dequeues the max priority item.

Callers 15

appendOpenTagFunction · 0.45
getFormAsObjectFunction · 0.45
querySelectorAllInSlotFunction · 0.45
getElementsToAriaHideFunction · 0.45
setModalAsOpenFunction · 0.45
setModalAsClosedFunction · 0.45
appendChildFunction · 0.45
createElementFunction · 0.45
constructorMethod · 0.45
disposeMethod · 0.45
rediscoverChildrenMethod · 0.45
constructorMethod · 0.45

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected