ES6 简单数组 ES6 repeat() New 字符串String 方法 ES6 数组声明和初始化 ES6 简单数组 var alphas; alphas = ["1","2","3","4"] console.log(alphas[0]); console.log(alphas[1]); ES6 repeat() New 字符串String 方法 ES6 数组声明和初始化