I can't understand why hardcoded 1 is undefined? However outside IF block it's working fine

后端 未结 0 1903
无人共我
无人共我 2020-12-31 17:10
if(change < totalCash){
    let total = [];
    const idx = 1;
    for(let j=cid.length;j>=0;j--){
      if(change >= cid[j][1]){

      }
    }


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