Skip to content

Kevin Tena [JavaScript-1]#95

Open
kevten22 wants to merge 12 commits intobloominstituteoftechnology:masterfrom
kevten22:master
Open

Kevin Tena [JavaScript-1]#95
kevten22 wants to merge 12 commits intobloominstituteoftechnology:masterfrom
kevten22:master

Conversation

@kevten22
Copy link
Copy Markdown

No description provided.

// ==== 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[32].car_year + ` ` + inventory[32].car_make + ` ` + inventory[32].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.

nice job here. look into string literal/template literal statements. It will make your life easier for problems like this.

'name': 'Susan',
'age': 70,
'speak': function() {
console.log('My name is ' + this.name);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Excellent use of 'this'

"name": "Antionetta",
"email": "[email protected]",
"gender": "F",
"multiplyNums": (a,b) => a * b
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice work on the stretch. great use of the arrow function.

@bdurb
Copy link
Copy Markdown

bdurb commented May 22, 2018

@kevten22 thank you for the PR. Excellent use of commits. code looks good, way to go on the stretch problems.

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