Skip to content

Conversation

@jmwhitman7
Copy link

No description provided.

export function map(names, fnc){
var mapped = [];
for (var i = 0; i < names.length; i++){
mapped.push("Hello " + names[i]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double check this code.
you edited the comment to demonstrate what to code, but you didn't actually code it fnc()
its similar to filter but there is no if statement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants