<html>
<head>
<title>使用ASCIIcode 列出26個英文字母</title>
</head>
<body>
<script>for(var i=65;i<91;i++)document.write(String.fromCharCode(i));</script></body>
</html>
- May 21 Thu 2015 20:25
-
[JavaScript] for迴圈的使用-列印26個字母
<html>
<head>
<title>使用ASCIIcode 列出26個英文字母</title>
</head>
<body>
<script>for(var i=65;i<91;i++)document.write(String.fromCharCode(i));</script></body>
</html>
請先 登入 以發表留言。