2114-maximum-number-of-words-found-in-sentences

DevGod
Vtuber
/** * @param {string[]} sentences * @return {number} */var mostWordsFound = function(sentences) { return Math.max(...sentences.map( (el)=>el.split(" ").length));};
/** * @param {string[]} sentences * @return {number} */var mostWordsFound = function(sentences) { return Math.max(...sentences.map( (el)=>el.split(" ").length));};