🌈 搜索
📅  最后修改于: 2022-03-11 15:02:11.290000             🧑  作者: Mango
// BEST and FASTER implementation using regex const countVowels = (str) => (str.match(/[aeiou]/gi) || []).length