<script type="text/javascript">
var mynum =6;
{
document.write("数字:"+mynum+"<br/>");
mynum=mynum-1;
}
while(mynum>=1)
</script>
是 do ---- while 语句 , 不是 { } while 语句