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