What does the navigator.languages property provide that navigator.language doesn't?
navigator.languages provides an ordered array of language preferences: 1) While navigator.language returns only the user's primary preferred language, 2) navigator.languages returns an array of language codes in descending order of preference, 3) This allows websites to find the best language match among multiple supported options, 4) The first entry in the array typically matches navigator.language, 5) This helps with more nuanced internationalization, respecting fallback preferences, 6) For example, a Canadian French user might have ['fr-CA', 'fr', 'en-CA', 'en'] showing French Canadian as first choice, but with standard French and English as acceptable alternatives, 7) The property reflects the Accept-Language HTTP header that browsers send to servers, 8) It enables more sophisticated content negotiation on the client side without additional server requests.