I have a for loop something like this
for(var i = 0; i < loop.length; i++) { if(a == b) { //someAction_1 } else if (x[i] == "myString&