Multiple Choice
To sort an array of objects, you need to define a comparison function. The comparison function:
A) uses lexicographical ordering to perform the sort operation.
B) uses standard numerical ordering to perform the sort operation.
C) receives two elements from the array and returns a negative number, zero, or a positive number.
D) receives two elements from the array and returns true if the two elements should be swapped.
Correct Answer:

Verified
Correct Answer:
Verified
Q10: The _ method searches for a specified
Q11: What is the difference between a method
Q12: The switch statement is most similar to
Q13: Typically, what's the first thing you should
Q14: OOP stands for _.
Q16: A class property is associated with a
Q17: Why might it be appropriate for a
Q18: If you would like to sort an
Q19: An object has properties and methods. It
Q20: Using the formal JavaScript inheritance terms, which