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