首先通过charCodeAt() 转化成ASCII,然后写一个冒泡排序,最后再通过String.fromCharCode() 转化成字符串输出 const sort = arr => { for(let i = 0; i < arr.length; i++){ for(let j = i;&n...