Asa Shalom: MVP - #440
Open
AsaOfDiamonds wants to merge 5 commits into
Open
Conversation
szincone
reviewed
Oct 16, 2018
| // ==== 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*` ); | ||
| inventory.carInfo = function (info) { |
There was a problem hiding this comment.
- Good job on implementing a method for this challenge!
| inventory.makeModel = function(info) { | ||
| for (let i = 0; i < inventory.length; i++) { | ||
| if (i === info -1) { | ||
| console.log(`${inventory[i].car_make} ${inventory[i].car_model}`); |
There was a problem hiding this comment.
- Good use of template literal syntax (back-ticks) throughout
| // Antonietta loves math, give her the ability to multiply two numbers together and return the product. Use the console.log provided as a hint. | ||
| //console.log(antonietta.multiplyNums(3,4)); | ||
|
|
||
| console.log(intern5.multiplyNums(3,4)) |
There was a problem hiding this comment.
- Good job on invoking the methods (line 90 and 76)
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.