πŸ“Š JavaScript
Q. Which function is used to sort the elements of an array?
  • (A) sort()
  • (B) order()
  • (C) arrange()
  • (D) sequence()
πŸ’¬ Discuss
βœ… Correct Answer: (A) sort()

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
57
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate