Skip to content

fikrcamp/get-first-names

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Get first name

Your Task 📚:

Create a function called getFirstNames where it takes a nested array of names and returns just the first name of each array

Examples 😃:
getFirstNames([["Ahmed","Aisha","Amina"],["Jaamac","Khadijah","Layla"],["Mohamed","Ali"]]) ➞ ["Ahmed","Jaamac","Mohamed"]

Good Luck 😀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published