Q. What does the following JavaScript code snippet do?
Code:
data.sort(function(a,b),b-a);
β
Correct Answer: (A)
Sort in reverse numerical order
data.sort(function(a,b),b-a);
You must be Logged in to update hint/solution