My code doesn’t work . Thanks in advance.
export function totalBirdCount(birdsPerDay) {
for (let index = 0; index < birdsPerDay; index++) {
let total = 0;
total += birdsPerDay;
return total];
}
}
My code doesn’t work . Thanks in advance.
export function totalBirdCount(birdsPerDay) {
for (let index = 0; index < birdsPerDay; index++) {
let total = 0;
total += birdsPerDay;
return total];
}
}
Read each line carefully and you’ll see a relatively obvious typo (an extra character).
Thank you for answering
It’s helpful to also post the test failure message. And to read the failure closely. The test output often points right at the issue!