-
-
Save codecademydev/19a3d6b41af99bd05cd98f51b2f323a8 to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var input = 'I am a whale, what are you gonna do about it?'; | |
const vowels = ['a', 'e', 'e', 'i', 'o', 'u'] | |
const resultArray = [] | |
for (let i = 0; i < input.length; i++){ | |
//console.log(input[i]); | |
console.log('i is '+ input.length); | |
for (let k = 0; k = vowels.length; k++){ | |
console.log('k is' + k.length) | |
} | |
} | |
console.log(vowels.length); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment