Yesterday we helped the elves organise the Secret Santa, but today Santa Claus received a strange looking file in his mailbox. It looks like it could be a hidden message.
In this Dev Advent Calendar Challenge, Santa Claus needs our help to decypher the message in the file.
At begin I forgot to use parseInt.
Finally, all tests passed on my computer but when I pushed on GitHub the tests failed because... I don't know for sure but I think forEach method is the root of all evils.
Below you will find my code and the secret message.
ATTENTION! My code seems to work, but it's NOT valid for the challenge!
Carlos @CuzoXYZ gave me his solution. It works.
Lucy Mac @codingwithlucy gave me her solution.
It's very elegant and I really think this is the best solution.