I aprecciated your words!
The important thing is you finished it, that's something to be proud of. Take some time and review other solutions, learn how and why they work and in no time you'll have a whole new bag of tricks at your disposal. Goodluck :)
Well, it's a property of circle object. As JS is a dynamically typed language you have to either handle cases if there's no such property, or hope that everything will be okay ;)
WTH, facepalm, now we know why it is 8 kyu XD
My only doubt is: how the heck the function knows which data is 'radius'?
i feel like a garbage bag :(.
I struggled so much in this kata
Python translation with random tests
What's the difference?
That's not a solution, that is just hard coding !
Tried it similar to this but wanted to use ".equals". The problem was, that it "equals" also with boolean and null within the string when it tests. Any clue how to avoid this?
Like the use of Infinity
This looks so obvious and so amazing at the same time. Loved it!