Skip to content

Conversation

Olga1305
Copy link

@Olga1305 Olga1305 commented Jun 8, 2019

No description provided.

return itemLength;
}
}
let newWords = words.filter(item => item.length == itemLength;

Choose a reason for hiding this comment

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

recuerda utilizar siempre 3 caracteres para condiciones

return numbersAvg[0];
} else {
numbersAvg.forEach(function(item) {
sum += item;

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 de sumar que has creado anteriormente sumArray

function uniquifyArray(wordsUnique) {
if (wordsUnique.length < 1) {
return undefined;
} else if (wordsUnique.length == 1) {

Choose a reason for hiding this comment

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

===

@manupacheco
Copy link

Por lo general bien, repasa los comentarios que te he dejado para el futuro, y te falta la iteración 7. Por lo demás, bien, 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