标签:
方法一
var character = new Array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","X","Y","Z"); for(var i=0;i<25;i++) { alert(character[i]); }
for(var i=0;i<25;i++) { alert(String.fromCharCode((65+i))); }
标签:
原文地址:http://www.cnblogs.com/MirageFox/p/5560355.html