Thursday , September 19 2024

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:

Questions BankCategory: JavaScript Essentials 1In 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:
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