To reverse the order of array elements, you use the JavaScript method ____.

A. reverse()
B. reverse.sort()
C. sort.reverse()
D. reverseSort()


Answer: A

Computer Science & Information Technology

You might also like to view...

Linear search can be used on:

a. Unsorted arrays. b. Sorted arrays. c. Integer arrays. d. Any of the above.

Computer Science & Information Technology

When two paths of execution run simultaneously but in separate memory spaces, they are know as ________. When they share memory, they are known as .

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Where are all citation sources created in Word saved?

A) In Track Changes B) In the Current List C) In a bibliography D) In the Master List

Computer Science & Information Technology

Is the following HTML code valid?

cell 1 cell 2
a. Yes. b. No, you cannot code two td elements within the same row c. No, you cannot code a table with only one row d. No, there is a missing closing td tag

Computer Science & Information Technology