Please don't post solutions in Discourse.
This comment is hidden because it contains spoiler information about the solution
Exactly what I thought! lol.
no they are not
Gives me this as a test error:
[1, 1, 2, 'Fizz', 'Buzz', 8, 13, 'Fizz', 34, 'Buzz', 89, 'Fizz', 233, 377, 'Buzz', 'Fizz', 1597, 2584, 4181, 'Fizzbuzz']
[1, 1, 2, 'Fizz', 'Buzz', 8, 13, 'Fizz', 34, 'Buzz', 89, 'Fizz', 233, 377, 'Buzz', 'Fizz', 1597, 2584, 4181, 'FizzBuzz']
And they are exactly the same.
I am always trying to use this arrow function now. It is so neat.
'Looks like you've solved it'
Appreciate this solution. Invited me to look up those methods. Thanks!
codewars need to block this solution
And you're absolutely rignt 'You need to design a recursive function called replicate'
This isn't recursive though...
...and the language is?
Ruby translation kumited -- please check and approve.
There is no clojure translation (anymore?)