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.
I should have known that a function like that already exists...
no problem that's why I write them
yep
damn this is good
sry im new here i do not comment usually this is my first time well i will be carefull next time
thanks
Flagged as spoiler for you. Remember that this site exists for programmers to learn both the advanced concepts and the fundamental algorithms, and looking up appropriate documents on their own is a skill to be trained.
This comment is hidden because it contains spoiler information about the solution
And waste that many seconds writing such unnecessary code to bog up the codebase? Don't quit your day job.
WOW GOOD
damn this is really good
I don't know which kind of substances you're on, but this code is very much readable.
so clever
This comment is hidden because it contains spoiler information about the solution
Thankfully the tests don't test for "sample", which is good because the behavior of the function when text is in the array isn't specified anyways, so assuming they are truthy is the only sane way to go.
I don't know why 0 * -1 = -0 in JavaScript which is very different from math. Every number that multiplies with 0 should be result in 0 right?
Loading more items...