C++ translation (my first submission of a translation!)
I love this solution dude, well done.
Correct syntax would be this.valueOf = () => value.
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.
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...