Skip to content

Conversation

fhoman
Copy link

@fhoman fhoman commented Jan 12, 2020

No description provided.

const words = ['mystery', 'brother', 'aviator', 'crocodile', 'pearl', 'orchard', 'crackpot', 'christmas'];


function findLongestWord(wordArr) {

Choose a reason for hiding this comment

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

Hey, Your code is pretty neat! One alternative to creating function is arrow function, in the future when you start to create functions inside Express or Classes, you will see how this will help you.
I really like the tutorial from scrimba: https://scrimba.com/p/p4Mrt9/c7vd3cd

Copy link
Author

Choose a reason for hiding this comment

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

Thanks, i will look into it!

@stale
Copy link

stale bot commented Feb 13, 2020

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.

@stale stale bot added the stale label Feb 13, 2020
@stale
Copy link

stale bot commented Feb 15, 2020

This pull request is closed. Thank you.

@stale stale bot closed this Feb 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants