I enjoyed learning from this one! Maybe a slight hint towards the fact you need to play with the prototype would have saved me some time, but in the end I managed to find the correct answer, so all is good.
I think that it is necessary to add a hint in the description, if not you don't know what to look for in case of you don't know how to solve the exercise.
I really have a feeling that I'm overthinking this WAY TOO MUCH, and the answer is going to be something simple. If that's the case, then I think that makes this a really good kata. Reminds me that some times I have the tendency to over-complicate my programs in lieu of a simple approach. Now, back to this madness...
C++ translation (my first submission of a translation!)
I love this solution dude, well done.
Python translation
No random cases for JavaScript
JavaScript and CoffeeScript have no random tests.
Python translation
We can.
Correct syntax would be
this.valueOf = () => value
.That's awesome kata, didn't know the answer after 10years of FE experience )
This comment is hidden because it contains spoiler information about the solution
I enjoyed learning from this one! Maybe a slight hint towards the fact you need to play with the prototype would have saved me some time, but in the end I managed to find the correct answer, so all is good.
This comment is hidden because it contains spoiler information about the solution
I liked this kata. Learned something new about Javascript.
Hi, I've added a CoffeeScript translation, if you want to approve it, instructions for the approval process are here.
I think that it is necessary to add a hint in the description, if not you don't know what to look for in case of you don't know how to solve the exercise.
I really have a feeling that I'm overthinking this WAY TOO MUCH, and the answer is going to be something simple. If that's the case, then I think that makes this a really good kata. Reminds me that some times I have the tendency to over-complicate my programs in lieu of a simple approach. Now, back to this madness...
Loading more items...