MCPcopy Create free account
hub / github.com/appacademy/Module-1-Resources / spreadItOut

Function spreadItOut

w2/d2/rest-spread-repl.js:11–13  ·  view source on GitHub ↗
(array1, array2)

Source from the content-addressed store, hash-verified

9
10// * 2. spreadItOut
11const spreadItOut = (array1, array2) => {
12 return [...array1, ...array2];
13};
14
15// * 3. breakDownObj
16const breakDownObj = (obj) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected