In the daysOfWeek variable, we place an array with the names of the days of the week. To reverse the order of the array elements, we should call:
- daysOfWeek.reverse();
- invert(daysOfWeek);
- reverse daysOfWeek;
- daysOfWeek.invert();
More Questions: JavaScript Essentials 1 – JSE1: Module 2 Test
More Questions: JavaScript Essentials 1 – JSE1: Final Test
Please login or Register to submit your answer