const input = ‘turpentine and turtles’;
const vowels = [‘a’, ‘e’, ‘i’, ‘o’, ‘u’];
const resultArray = ;
for (let inputIndex = 0; inputIndex < input.length; inputIndex++) {
//console.log(inputIndex is ${inputIndex}.
);
for (let vowelIndex = 0; vowelIndex < vowels.length; vowelIndex++); {
console.log(vowelIndex is ${vowelIndex}.
);
}
}
I’m getting some error message, and I have no idea why.