Skip to content

Conversation

mayadesp
Copy link

No description provided.

HectorBlisS and others added 5 commits January 6, 2018 09:37
…one" but the test is expecting for the string itself, i change the Readme file wich is the quck fix, but may be could be good to change the spec file to not confuse the student.
…tion-fix

the test are waiting for undefined but the description says false
@TatijanaRajcic
Copy link

Hello Maya ! Merci pour ton lab! Quelques remarques:

  • tu peux utiliser le ternary operator dans la 1ere fonction, pour rendre ton code encore plus court
function maxOfTwoNumbers(a, b) {
  return a > b ? a : b;
}
  • N'hésite pas à utiliser tes fonctions sum dans tes fonctions average, pour éviter de te répéter
  • Pour le bonus: l'idée était d'écrire une fonction qui marche dans tous les cas de figure, pas juste quand tu as une matrice de 1 ou de 2 haha! Il faut effectivement utiliser une nested loop, mais changer la logique. N'hésite pas à m'envoyer un message sur slack si tu veux le tenter!

💪

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.

4 participants