for循环版 let arr = [] for (let i = 65; i <= 90; i++) { arr.push(String.fromCharCode(i)) } console.log(arr) ES6版 let arr = [...Array(26).keys()].map(i => String.fromCharCode(i + 65)) console.log(arr)