πŸ“Š JavaScript
Q. Consider the following code snippet
Code:
data.sort(function(a,b),b-a);
  • (A) Sort in the alphabetical order
  • (B) Sort in the chronological order
  • (C) Sort in reverse alphabetical order
  • (D) Sort in reverse numerical order
πŸ’¬ Discuss
βœ… Correct Answer: (D) Sort in reverse numerical order

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
160
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Kirti
Publisher
πŸ“ˆ
95%
Success Rate