Sail E0 Webinar
Question
Consider the following code snippet
data.sort(function(a,b),b-a);
What does the above code do?
Options:
A .  Sort in the alphabetical order
B .  Sort in the chronological order
C .  Sort in reverse alphabetical order
D .  Sort in reverse numerical order
Answer: Option D

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers