Skip to content

initial push-Andrew Kolumbic - #5

Closed
AKolumbic wants to merge 4 commits into
bloominstituteoftechnology:masterfrom
AKolumbic:master
Closed

AKolumbic wants to merge 4 commits into
bloominstituteoftechnology:masterfrom
AKolumbic:master

Conversation

@AKolumbic

Copy link
Copy Markdown

No description provided.

Comment thread assignments/arrays.js
console.log(`Car 33 is a *car year goes here* *car make goes here* *car model goes here*` );


console.log(inventory[32]);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 Clever

Comment thread assignments/arrays.js
console.log();


lastCar = inventory[inventory.length-1];

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good demonstration of the syntax to get the last item of an array.

Comment thread assignments/arrays.js
console.log();

for (let i = 0; i<inventory.length; i++) {
carModels.push(inventory[i].car_model);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Perfect execution of the closure to carModels's array.

Comment thread assignments/arrays.js

for (let i = 0; i<carYears.length; i++) {
if (carYears[i]<2000) {
oldCars.push(carYears[i]);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍

Comment thread assignments/arrays.js

for (let i=0; i<inventory.length; i++) {
if (inventory[i].car_make === "Audi" || inventory[i].car_make === "BMW"); {
BMWAndAudi.push(inventory[i]);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Fix up the whitespace and its perfect.

@ghost ghost 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.

I couldn't find anything to inform you about great job. 💯

@mixelpixel mixelpixel closed this May 21, 2018
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
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