1input = "You Are All Wee Gillis";
2vowels = ['a','e','i','o','u'];
3whaleTalk = [];
4input.split('').filter(v => vowels.includes(v.toLowerCase())).forEach(x => {
5 if (x === 'e' || x === 'u') {
6 whaleTalk.push((x + x));
7 } else {
8 whaleTalk.push(x);
9 }
10});
11console.log(whaleTalk.join('').toUpperCase()) // OUUAEEAEEEEII
12