for(var i=0;i<25;i++) { alert(String.fromCharCode((65+i))); } strVariable.toUpperCase( ) 转大写 stringVar.toLowerCase( ) 转小写