Tell us what’s happening:
I am confused here. The result is showing chunk 1 and then names and chunk 2 with names below. I believe I got it right but the code is breaking. Could someone tell me the reason please?
Your code so far
const EVAChunks = chunkCrew(EVAReadySquad, 3);
for(let i = 0; i < EVAChunks.length; i++){
console.log(`Chunk ${i+1}`)
for(let j = 0; j < EVAChunks[i].length; j++){
console.log(EVAChunks[i][j].name);
}
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Challenge Information:
Build a Space Mission Roster - Step 26