Good Morning; yesterday I made a post in the Tasks for assistance, but it never got answered or looked at. So I thought I would post it here.
I am having difficulty with Task 132:
functions.js
export const getLocale = (userConfig, knownLocales) => {
let textMatch = '';
for (let i in knownLocales) {
if (userConfig.locale === knownLocales[i]) {
textMatch += knownLocales[i];
i++;
return textMatch;
}
}
};
Results:
I have been at this for most of the day today. Could someone point me in the right direction please?
Thank you