[Solved] Javascript for loop with if statement not reaching the else if statement [closed]


your value at key[18] is “L” so if condition is always true and you will get an alert with value 7

1

solved Javascript for loop with if statement not reaching the else if statement [closed]