Skip to content

Conversation

ittenes
Copy link

@ittenes ittenes commented Jun 7, 2019

No description provided.

];

function findLongestWord(arr) {
if (arr && arr.length == 0) {

Choose a reason for hiding this comment

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

que sentido tiene esta condición?? además siempre con 3 caracteres!

if (isNaN(value)) {
var value = 0;
}
var sum = sum + value;

Choose a reason for hiding this comment

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

podrías reutilizar la función sumArray que has creado anteriormente

@manupacheco
Copy link

bien, repasa los comentarios y recuerda siempre siempre utilizar 3 caracteres para condiciones! Por lo general, buen trabajo! 👍

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