Hi, I will copy the question so you can see, but you have to Add two Objects to a Loop on this Question, meaning .push and stringName[i} I have done the .push part, but don’t know how to apply stringName. Can someone help me, does anyone have a link to the reading page for stringname[i] ?
My code and the Question Below;
const input = "I've no idea what to Say";
const vowles = ["a", "e", "i", "o", "u",];
let resultArray = [];
for(let inputIndex = 0; inputIndex < input.length; inputIndex++){
//console.log("inputIndex = " + inputIndex);
for( let V2 = 0; V2 < vowles.length; V2++){
//console.log("Vowles is" + V2)
if (input[inputIndex] === vowles[V2]) {
resultArray.push(input[inputIndex]);