capitalize() -> string
将一个字符串的首字母转换为大写,其它的字母全部转为小写。
'hello'.capitalize(); // -> 'Hello' 'HELLO WORLD!'.capitalize(); // -> 'Hello world!'