Multiple Choice
The sort method can be given a function to use for the comparisons it makes, called a(n) ________ function.
A) isLessThan
B) compare
C) compareTo
D) comparator
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q7: In JavaScript, numbers and boolean values are
Q8: The first statement below _ the array
Q9: _ are data structures consisting of related
Q10: Which of the following is the proper
Q11: By default, the JavaScript sort method uses
Q13: What will the browser display if the
Q14: When working with data stored in arrays,
Q15: What is the value of num assuming
Q16: Pass-by- _ is the method of passing
Q17: To refer to a particular location or