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
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)