MCPcopy Index your code
hub / github.com/Rich-Harris/code-red / push_array

Function push_array

src/utils/push_array.js:8–12  ·  view source on GitHub ↗
(array, items)

Source from the content-addressed store, hash-verified

6 * @param {any[]} items
7 */
8export function push_array(array, items) {
9 for (let i = 0; i < items.length; i++) {
10 array.push(items[i]);
11 }
12}

Callers 15

joinFunction · 0.90
handle_bodyFunction · 0.90
handle_var_declarationFunction · 0.90
IfStatementFunction · 0.90
SwitchStatementFunction · 0.90
TryStatementFunction · 0.90
handlers.jsFile · 0.90
ClassDeclarationFunction · 0.90
ImportDeclarationFunction · 0.90
ExportNamedDeclarationFunction · 0.90
MethodDefinitionFunction · 0.90
TemplateLiteralFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…