You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 14, 2024. It is now read-only.
Hi @moneyinthesky@SallyMcGrath , in the third exercise of financial-times mandatory homework JS-core1-week3, the explanation is :
The Financial Times wants to understand what the average number of characters in an article title is.
Implement the function below to return this number - rounded to the nearest integer.
function averageNumberOfCharacters(allArticleTitles) {
// TODO
}
allArticleTitles is an array of strings, the question is asking for getting the average number of characters in an article title which means the average number of characters in each string(sum of the whole characters in each string (title) and divided them by the whole characters in the article title array). we will have different average numbers for this array of title articles for each string inside of this array.
in the end, the question is saying that there is just one number to be returned.
I think there should be more clarification for this question like the lowest or highest average or which average of title we want them to return.