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.
Pls help I've done a character count elsewhere it shows 245, the test says 280? I also sneakily tried assigning strings to vars at one point, which brought the actual count down further, but in the test it went even higher! confused..
Check out ternary operators :)
Please add this information into description. It can be confusing.
Bravo Peter \m/
is there a way to do this in fewer than 250 chars without using regex? My only exposure to JS is completing a Codecademy course and some level 8 and level 7 katas. Based on my limited experience, I instinctively reached for a 'switch' statement, but that puts me around 350 chars, even after smushing my code together as much as possible. I suspect that I'm missing a more elegant solution, but I don't know regular expressions.
No Worries Matt. I have managed (finally) to get my test cases properly random!
I've sorted the test cases! They are now officially random. Thanks for the support myjinxin.
I've done it!! The test are now properly random. THANK YOU for your patience and help!
Sorry I was away for awhile I haven't got to adding random tests and as it's now published I assume you have written random test cases :)
OH my bad, it should be all in lowercase, THANK!!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
If you use 'let
or
const` or other ES6 features, your code will get longer due to the transformation by babel.I post this issue because your random test is not really "random", all of them are invaild bread, could you put some "good bread" in your "random" test?
Loading more items...