Skip to content

Javascript 1 - #1

Open
Dannyyzz wants to merge 7 commits into
masterfrom
daniel-viera
Open

Dannyyzz wants to merge 7 commits into
masterfrom
daniel-viera

Conversation

@Dannyyzz

Copy link
Copy Markdown
Owner

No description provided.

@Dannyyzz
Dannyyzz requested a review from LaikaFusion April 18, 2019 03:50

@LaikaFusion LaikaFusion left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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

Not sure why you have that if statement, that will always be true

Looks like you ran out of time before you finished. Keep going if you want to or move on to the next project

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