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.
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.
This comment is hidden because it contains spoiler information about the solution
Weeeee
Woooow!
isn't it easy to read and understand to write "function". I know its easy to write arrow function, but for me the classic way is much more simpler to understand and read.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
amazing
This comment is hidden because it contains spoiler information about the solution
This is beautiful
whole numbers, integers, and decimals, floats, are different kinds of numerical data. There is no need to worry about floats because that isnt the data being tested.
this is simple solution!!!
This comment is hidden because it contains spoiler information about the solution
Doesn't this return
" "
instead of""
for an empty string? I thought I tried this code and it errored ...Edit: I just tried it out and it didn't error. Never Mind. I guess it doesn't join on an empty string (
""
) because there is nothing to join.Always the one liners! Great solution
Loading more items...