ExamVeda
Login
Home
Invocation and Performance Navigation
?

What is the purpose of the method localeCompare()?

Answer & Solution
Correct Answer: Option A
The method localeCompare() returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.