Skip to content

Navigation Menu

Sign in
Appearance settings

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 Mostafa & Clement #270

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
Closed

PAR Mostafa & Clement #270

wants to merge 1 commit into from

Conversation

M-Gadd
Copy link

@M-Gadd M-Gadd commented Mar 20, 2018

No description provided.

return num1;
} else if (num2>num1) {
return num2;
}

Choose a reason for hiding this comment

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

You must return an else statement in order to return num1.

function findLongestWord(words) {
var longestWord = "";

if (words.length === 0) {

Choose a reason for hiding this comment

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

not reliable I guess...

@ta-web-paris
Copy link

I'll send you the correction.
But it's pretty well done.
Keep rockin'

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.