arguments);//添加方法values.toPipedString = function(){return this.join(“|”);};//返回数组return values;}var colors = new SpecialArray(“red”, “blue”, “green”);alert(colors.toPipedString()); //“red|blue|green”```