String.prototype.capitalize=函数(){return this.replace(/^./,函数(x){返回x.到UpperCase();});};