方法一:var num=25;while(true){ //无限循环弹出提示框var str=prompt('输入一个数字'); if(str>num){ alert('猜大了'); }else if(str<num){ alert('猜小了'); } ...
確定! 回上一頁