?Identify acompare function that sorts numeric values in descending order.

A. function descending(a, b) {return a - b;}
B. function descending(b, a) {return b;}?
C. function descending(a, b) {return b - a;}
D. function descending(b, a) {return a;}

Answer: C

Computer Science & Information Technology

You might also like to view...

An Internet service provider (ISP) is a company that sells the service of its gateway

Indicate whether the statement is true or false

Computer Science & Information Technology

When a placeholder border displays as a solid line, formatting is not applied to the text

Indicate whether the statement is true or false

Computer Science & Information Technology