A

Admin • 802.91K Points
Coach

Q. Which function is used to sort the elements of an array?

  • (A) sort()
  • (B) order()
  • (C) arrange()
  • (D) sequence()
  • Correct Answer - Option(A)
  • Views: 2
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
sort() sorts the elements of an array in place and returns the array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.