Skip to Content
🎲 Welcome to RandBox - Powerful JavaScript Random Data Generation Library! Learn More

capitalize

// usage randBox.capitalize(string)

Capitalize the first letter of a word

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