What is the purpose of the method localeCompare()?
(a) If the reference string comes before or after another string
(b) If the reference string is validated
(c) If the string is a reference string
(d) If the reference string comes first
The question was asked in an online quiz.
The doubt is from Script Loading topic in chapter Invocation and Performance Navigation of JavaScript