Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This was probably the best solution here because of the comments
Thanks Kyle :D !
Thanks Kyle :D!
@TutulDevs maybe you have a typo in your code it happen to my a lot :). But if you wish you can share your solution and I will be happy to help you.
Happy holidays to everyone!.
Hello guys, Happy Holidays to all!
I check and run the code today and is still working.
I don't know how to show an image here, but the code pass the tests.
I think, it is just a pseudocode. He just described how he would implement it, without actually implementing the function.
Points for readability!
Hi, every time I run this solution in the console, it's showing an error. 'Uncaught TypeError: ruleCondition is not a function'.
Can you please tell me the reason?
happy you completed kata successfully:)! cheers!
Thank for the trick :D I never thougth of that.
Well they work better now, but now a notice a missing comma on the Ouput result. I write in another post what a notice.
#This is the Output from submit test
#This is the output from the regular test
But in another test I need the comma to make the answer correct:
so did you manage to solve the kata afterall:)?
hi sempjc, one trick if you would like to see what was the test case simply add console.log() at the beginning of your code which prints argument given to the function.
But I find a kind of logic error on my code and fixed. Then this first test pass.
I was evaluating:
if(s.length < 4 && s.length >4 || "and a test for verify they are all number")
this work in all the regular test.
But is wrong because nothing can be greater and less at the same time. So I make a simple evaluation like
and make work fine in the "submit test"
I don't know what was the input from this case, because this was the result of hitting the button of submit. I asume this is the first test of the "submit test"
I edit my solution and find a way to make the first test of the "submit test" pass. But notice in the second test this:
#From the Submit test
The different I notice is a miss comma (,) in the test answer.
But in the regular "test" you need a comma to make this answer correct
#Line from the regular test
BTW I really enjoy this Kata :) And I learned a bunch of thing while solving this :)
Loading more items...