把mynum=mynum-1换成mynum=mynum--系统就会崩溃
把mynum=mynum-1换成mynum=mynum--系统就会崩溃
2016-10-14
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>do...while</title> <script type="text/javascript"> var a =6;//mynum初值化数值为6 var b =6; --a; b--; document.write("a="+a+"<br/>"); document.write("b="+b); </script> </head> <body> </body> </html> 结果都一样的啊
举报