Repository navigation
Conversation
ghost
reviewed
Apr 17, 2018
| console.log(`Car 33 is a *car year goes here* *car make goes here* *car model goes here*` ); | ||
|
|
||
|
|
||
| console.log(inventory[32]); |
ghost
reviewed
Apr 17, 2018
| console.log(); | ||
|
|
||
|
|
||
| lastCar = inventory[inventory.length-1]; |
There was a problem hiding this comment.
Good demonstration of the syntax to get the last item of an array.
ghost
reviewed
Apr 17, 2018
| console.log(); | ||
|
|
||
| for (let i = 0; i<inventory.length; i++) { | ||
| carModels.push(inventory[i].car_model); |
There was a problem hiding this comment.
Perfect execution of the closure to carModels's array.
ghost
reviewed
Apr 17, 2018
|
|
||
| for (let i = 0; i<carYears.length; i++) { | ||
| if (carYears[i]<2000) { | ||
| oldCars.push(carYears[i]); |
ghost
reviewed
Apr 17, 2018
|
|
||
| for (let i=0; i<inventory.length; i++) { | ||
| if (inventory[i].car_make === "Audi" || inventory[i].car_make === "BMW"); { | ||
| BMWAndAudi.push(inventory[i]); |
ghost
reviewed
Apr 17, 2018
ghost
left a comment
There was a problem hiding this comment.
I couldn't find anything to inform you about great job. 💯
LorenzoEvans
added a commit
to LorenzoEvans/JavaScript-I
that referenced
this pull request
Aug 21, 2018
jasonsbarr
added a commit
to jasonsbarr/JavaScript-I
that referenced
this pull request
Mar 28, 2019
Haja-andri
added a commit
to Haja-andri/JavaScript-I
that referenced
this pull request
May 5, 2019
aaamg
added a commit
to aaamg/JavaScript-I
that referenced
this pull request
Jul 23, 2019
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.