how to increment for loop count if a condition fails in JavaScript

后端 未结 0 476
伪装坚强ぢ
伪装坚强ぢ 2021-02-04 00:02

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&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题