编辑 | blame | 历史 | 原始文档

capitalize

// usage
chance.capitalize(string)

Capitalize the first letter of a word

chance.capitalize('bread')
=> 'Bread'