[Solved] Javascript for loop with if statement not reaching the else if statement [closed]KiratFebruary 6, 2023Solved 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] # for-loop# if-statement# javascript