Skip to content

Brandon White - #423

Open
bwhite06 wants to merge 7 commits into
bloominstituteoftechnology:masterfrom
bwhite06:master
Open

Brandon White#423
bwhite06 wants to merge 7 commits into
bloominstituteoftechnology:masterfrom
bwhite06:master

Conversation

@bwhite06

Copy link
Copy Markdown

No description provided.

@groov1234

Copy link
Copy Markdown

Great work finishing your classes.js assignment!


for(let i =0; i<graduates.length;i++){
universities.push(graduates[i].university);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

 }
 universities.sort()

@47analogy 47analogy Dec 23, 2018

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

can use sort method (on line 83) to sort the array alphabetically

console.log(lowerCase);
for (let i = 0; i < zooAnimals.length; i++) {
lowerCase.push(zooAnimals[i].animal_name);
}

@47analogy 47analogy Dec 23, 2018

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

instead of using a for loop and pushing to the array, you can save a few lines of code because map returns a new array:
lowercase = zooAnimals.map(x => x.animal_name.toLowerCase());
console.log(lowercase);

@47analogy

Copy link
Copy Markdown

Brandon, nice work on the Sprint Challenge! MVP is complete:

  • Completed objects-arrays.js
  • Completed functions.js
  • Completed prototypes.js
  • Completed classes.js

You have a decent amount of commits, but the messages could be a bit more explicit. For example one of them was "fixed problem". Ideally, you'll want to say what the code change fixed / what was wrong. Keep up the good work!

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.

3 participants