Cool! Don't know this works before:)
"Think before you code."
That's what the kata want to tell us.
I see no point in complaining as I see that the 'public' is divided about the usefullness of a kata like this.
To me this is trolling and serves no purpose.
thanks you :) :)
Hi, remember to use the spoiler flag when posting code (I put the flag on the comment just now), otherwise everyone can see it.
The error is telling you that your code is trying to read a property ('O') of something undefined. So your next step is determining how are your code is getting something undefined at all.
This comment is hidden because it contains spoiler information about the solution
If you've got a complaint or a problem, it's useful to explain what it is so that it can be addressed.
If you meant sample tests in PHP, they're a stub for you to edit and add your own sample tests. They should be like in other languages tho.
I think tests is broken. I enter print_r ($incomingData) to see the structure of the incoming array, and I get the passing of the test.
I think there is actually a test case where it has whitespace in the end and it works without .trim()
should be fixed some time ago
changed some time ago
I‘ve just submitted a solution on python, old issue, closing