Skip to content

Eric Bergh CS11 Sprint Challenge - #368

Open
Tmbrwolf wants to merge 5 commits into
bloominstituteoftechnology:masterfrom
Tmbrwolf:master
Open

Eric Bergh CS11 Sprint Challenge#368
Tmbrwolf wants to merge 5 commits into
bloominstituteoftechnology:masterfrom
Tmbrwolf:master

Conversation

@Tmbrwolf

Copy link
Copy Markdown

No description provided.

@brcampbell001 brcampbell001 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice job on Objects & Arrays! I saw the one method that was giving you trouble and it was just a little trouble in duplicate names.


// The zoos need a list of all their animal's names converted to lower case. Create a new array named lowerCase and map over each name to convert them all to lower case. Log the resut.
let lowerCase = [];
zooAnimals.map(animal_name => {return animal_name.toLowerCase();});

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your function should not also be called animal_name because that is the name of one of your keys. Name it like animal and then access animal_name through the function like so: animal => { return animal.animal_name.toLowerCase();

@brcampbell001

Copy link
Copy Markdown

Overall, very nice job sir! It seems like you are getting the content here. There were a few issues that I highlighted. We will discuss them in our one-on-one. Thank you Eric!

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