我有一个 IF 语句在 FOR 循环内的场景。我想打破 IF 语句中的 FOR 循环,如何实现?
for(i=0;i<5;i++){ if(i==2){ break; } }
node.js express
express ×1
node.js ×1