Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PAR-Frederic Jacquette & Frederic magnin - Iteration 1 #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

fredjack
Copy link

@fredjack fredjack commented Sep 5, 2017

No description provided.

@@ -20,67 +20,117 @@ var words = [
"orchard",
"crackpot"
];

function findLongestWord(words) {
Copy link

@yacinehmito yacinehmito Sep 5, 2017

Choose a reason for hiding this comment

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

This works fine. However you don't need num because you can simply do long.length.

}

var numbers = [2, 6, 9, 10, 7, 4, 1, 9];
function sumArray(array){
Copy link

@yacinehmito yacinehmito Sep 5, 2017

Choose a reason for hiding this comment

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

You just copy-pasted the same function as above. You don't need to; you can simply reuse it.

"bring"
];

var words2 = [];
Copy link

@yacinehmito yacinehmito Sep 5, 2017

Choose a reason for hiding this comment

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

This is the solution. However you should but it in the body of the uniquifyArray function.

Copy link

@yacinehmito yacinehmito left a comment

Choose a reason for hiding this comment

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

You managed to do almost everything; overall this is good work. However you really need to be careful about the code style. Indentation and variable names matter a lot.

Please do fix those little issues so that I can approve your work.

@posva posva closed this Sep 6, 2017
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.