- Notifications
You must be signed in to change notification settings - Fork6.7k
FTRMMay2023 Meissner#3816
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
FTRMMay2023 Meissner#3816
Uh oh!
There was an error while loading.Please reload this page.
Conversation
TA-Remote left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
- Good work, keep practicing :)
- Pay attention to the spacing in your code, so it's a little bit easier to read
arr.forEach(function(word){ | ||
if (arr[i].length > longestWord.length) { | ||
return longestWord; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Here you would need toreturn
outside of the.forEach
This pull request has been automatically marked as stale because it didn't have any recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
No description provided.