Question: Which of the following array methods will correctly complete the following segment of code's last line designated with the underscores that will return a new
Which of the following array methods will correctly complete the following segment of
code's last line designated with the underscores
that will return a new array named
statusReport which will contain the course status of any array of point total grades.
An example array is provided as points.
const points ;
function convertPointsToStatus pointTotal
let status 'Not Complete';
if pointTotal
status 'Excellent';
else if pointTotal
status 'Complete';
return status;
const statusReport points
convertPointsToStatus;
sort
filter
reduce
map
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
