Repository navigation
WEBEU4 - Andre Michalowski - Week 3 - Day 1 - #1
Open
andremichalowski wants to merge 6 commits into
Open
andremichalowski wants to merge 6 commits into
andremichalowski wants to merge 6 commits into
Conversation
ropeks
reviewed
Oct 15, 2019
ropeks
left a comment
Collaborator
There was a problem hiding this comment.
Okay, I don't have anything to add here actually.. This is amazing work and if you understand every line of it I'm really happy!
GJ Andre! Keep it up, my friend! :)
Comment on lines
+116
to
+125
| const lastVechicle = () => { | ||
| let inventoryLength = inventory.length; | ||
| for (let i = 0; i < inventoryLength; i++) { | ||
| let item = inventory[i]; | ||
|
|
||
| // Check if last iteration of the array | ||
| if((i + 1) == (inventoryLength)) { | ||
| console.log(`${item['car_make']} ${item['car_model']}`); | ||
| } | ||
| } |
Comment on lines
+161
to
+167
| //create new space "array" for sorted carModels | ||
| let carModels = []; | ||
| //loop i... | ||
| for (let i=0; i < inventory.length; i++) { | ||
| //create new new space to store generic values | ||
| let models = inventory[i]['car_model']; | ||
| //sort models and push to new new array; |
Collaborator
There was a problem hiding this comment.
love how you comment everything
Comment on lines
+34
to
+35
| speak: () => { | ||
| console.log("Hello, my name is", kennan.name,"!"); // Question #1 for Petar. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.