Skip to content

Finished assignment, Arrow function stretch goal. - #1

Open
JakeGrath wants to merge 3 commits into
masterfrom
Jacob-McGrath
Open

JakeGrath wants to merge 3 commits into
masterfrom
Jacob-McGrath

Conversation

@JakeGrath

Copy link
Copy Markdown
Owner

No description provided.

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

Well done.

Comment thread assignments/arrays.js
// ==== Challenge 1 ====
// The dealer can't recall the information for a car with an id of 33 on his lot. Help the dealer find out which car has an id of 33 by logging the car's year, make, and model in the console log provided to you below:
console.log(`Car 33 is a *car year goes here* *car make goes here* *car model goes here*` );
console.log('Car 33 is a ' + inventory[33 - 1].car_year + ' ' + inventory[33 - 1].car_make + ' ' + inventory[33 - 1].car_model);

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.

nice job with the id - 1 for the array index 0 position.

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