problem2

package
v0.0.0-...-cb75c49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2025 License: MIT Imports: 0 Imported by: 0

README

Problem 2

Create a function that takes an array of names and returns an array where only the first letter of each name is capitalized.

capitalize(["mavis", "senaida", "letty"]) // ["Mavis", "Senaida", "Letty"]

capitalize(["samuel", "MABELLE", "letitia", "meridith"]) // ["Samuel", "Mabelle", "Letitia", "Meridith"]

capitalize(["Slyvia", "Kristal", "Sharilyn", "Calista"]) // ["Slyvia", "Kristal", "Sharilyn", "Calista"]

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL