Skip to content

Guillaume Savy - #1

Open
guillsav wants to merge 5 commits into
masterfrom
guillaume-savy
Open

guillsav wants to merge 5 commits into
masterfrom
guillaume-savy

Conversation

@guillsav

Copy link
Copy Markdown
Owner

This is my assignment. @dan2014

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

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

Please consider making changes based on the comments I made

Comment thread assignments/arrays.js

carModels.sort();

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

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.

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
Copy Markdown
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
Copy Markdown
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

Comment thread assignments/objects.js

// Mitzi's name

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

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.

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.

2 participants