简单教程
提交运行
代码编辑器:
<script> myNumber=2; while (myNumber!=Infinity){ myNumber=myNumber*myNumber; document.write(myNumber +'<BR>'); } </script>
运行结果: