码迷,mamicode.com
首页 > 其他好文 > 详细

47.输出26个字母

时间:2017-06-30 17:24:22      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:title   set   strong   arc   charset   orm   lang   string   code   

<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>输出26个字母</title>
</head>
<body>
<script>
for (var i = 65; i < 91; i++) {//大写65-90 小写97-122
document.write(String.fromCharCode(i));
//formCharCode,值转换成字母
}
</script>

</body>
</html>

47.输出26个字母

标签:title   set   strong   arc   charset   orm   lang   string   code   

原文地址:http://www.cnblogs.com/mx2036/p/7099053.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!