[英]Putting all the output in a specific textbox in a while loop in JavaScript
[英]Putting a while loop into a for loop
无论如何只需将其转换为for循环?
while ((something == false) && (s < string.length-1)){ }
for( <x> ; (something == false) && (s < string.length-1) ; <y> ){
//do whatever
}
如果有的话,将任何你需要声明的内容放入x中,并将其添加到每个循环中。 你也可以没有任何东西。
for(int i=false;i<string.length-1;i++)
我想这会奏效
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.