Base user highlighted code for step 4:
function studentMsg(totalScores, studentScore) {
}
console.log(studentMsg([92, 88, 12, 77, 57, 100, 67, 38, 97, 89], 37));
Console:
// running tests
1. studentMsg([92, 88, 12, 77, 57, 100, 67, 38, 97, 89], 37) should return the following message: "Class average: 71.7. Your grade: F. You failed the course.".
2. studentMsg([56, 23, 89, 42, 75, 11, 68, 34, 91, 19], 100) should return the following message: "Class average: 50.8. Your grade: A++. You passed the course.".
3. Your studentMsg function should return the correct message based on the student's score and the class average.
// tests completed
// console output
undefined
As you can see one line is missing from the base code for the A++ graded console.log.
Not a big deal, I just wrote the proper console.log command, but I think it is considered to be a bug.
Also the F graded console.log line is in the 34th line and 35th (wich is the last line of the code) is empty.