Skip to content

Conversation

@guillsav
Copy link
Owner

This is my assignment. @dan2014

@guillsav guillsav requested a review from dan2014 February 25, 2019 20:44
Copy link
Collaborator

@dan2014 dan2014 left a comment

Choose a reason for hiding this comment

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

Please consider making changes based on the comments I made


carModels.sort();

for ( let i = 0; i < carModels.length; i++ ) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just console.log the carModels object

Suggested change
for ( let i = 0; i < carModels.length; i++ ) {
console.log(carModels)

// add(1,2);

let add = (param1, param2) => param1 + param2;

Copy link
Collaborator

Choose a reason for hiding this comment

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

Invoke the function and console.log the output

// subtract(1,2);

let subtract = (param1, param2) => param1 - param2;

Copy link
Collaborator

Choose a reason for hiding this comment

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

Invoke the function and console.log the output


// Mitzi's name

console.log( mitzi[ "name" ] );
Copy link
Collaborator

Choose a reason for hiding this comment

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

Consider not having spaces between object key and the brackets.

Suggested change
console.log( mitzi[ "name" ] );
console.log( mitzi["name"] );

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.

3 participants