- 查找出一篇英语文章中出现最多的单词和次数
let article = " like a my like he me me a a me ";
let newArticle = article.trim();
let match = newArticle.match(/[a-zA-Z]+/ig);
let wordLength, word, max = 0, maxWord = [];
for (let i = 0; i < match.length; i++) {
word = new RegExp("" + match[i] + "", 'g');
wordLength