确定要使“ y”赶上“ z”所需的步骤。
<div contenteditable>Click here and paste, you can even paste images</div>
答案 0 :(得分:0)
var z = 50;
var y = 1;
function test(z,y){
z++;
y=y+2;
console.log(z,y,'try');
if(y>z){
console.log(z,y,'you do it');
return false;
}else{
test(z,y);
}
}
test(z,y);