String.prototype.capitalize=函数(){
return this.replace(/^./,函数(char){
return char.toUpperCase();
});
};