var x = arr[1][1]
console.log('欢迎' + arr.sort().slice(0, 3).join(',') + '和' + arr.slice(3,4) + '同学');
Sign in to make a reply
无名冷夜