Consider the following code snippet
data.sort(function(a,b),b-a);
What does the above code do?
A.Sort in the alphabetical order
B.Sort in the chronological order
C.Sort in reverse alphabetical order
D.Sort in reverse numerical order
Answers
Answered by
2
✔✔✔✔
⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵ ıllıllıllıllıllıllııllıllıllıllıllıllııllıllıllıllıllıllı
_______________________
↪ -
D. Sort in reverse numerical order
Answer: Option D
The above code snippet sorts an array in reverse numerical order.
The answer to the above code snippet is 35. The value of “a” passed to the function is 2 and the value for “b” defined in ...
_______________________ ıllıllıllıllıllıllııllıllıllıllıllıllııllıllıllıllıllıllı
Answer - By Choudhary21
⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵ ıllıllıllıllıllıllııllıllıllıllıllıllııllıllıllıllıllıllı
_______________________
↪ -
D. Sort in reverse numerical order
Answer: Option D
The above code snippet sorts an array in reverse numerical order.
The answer to the above code snippet is 35. The value of “a” passed to the function is 2 and the value for “b” defined in ...
_______________________ ıllıllıllıllıllıllııllıllıllıllıllıllııllıllıllıllıllıllı
Answer - By Choudhary21
Answered by
3
Hey mate,☺☺☺
Here is your answer...✨✨✨
➡➡➡➡➡➡➡➡➡➡➡➡➡
QUESTION:
Consider the following code snippet
data.sort(function(a,b),b-a);
What does the above code do?
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】. Sort in reverse numerical order
✔✔✔✔✔✔✔✔✔✔✔✔✔
Hope this will help you...✨✨✨
Keep Asking..✌✌✌
❤❤❤ If helps you, Mark my answer as Brainliest....❤❤❤
Here is your answer...✨✨✨
➡➡➡➡➡➡➡➡➡➡➡➡➡
QUESTION:
Consider the following code snippet
data.sort(function(a,b),b-a);
What does the above code do?
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】. Sort in reverse numerical order
✔✔✔✔✔✔✔✔✔✔✔✔✔
Hope this will help you...✨✨✨
Keep Asking..✌✌✌
❤❤❤ If helps you, Mark my answer as Brainliest....❤❤❤
Similar questions
History,
7 months ago
Economy,
7 months ago
Math,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
English,
1 year ago
Math,
1 year ago