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.
Very challenging kata, congratulations, it wasn't that easy as it seemed at first.
OP long gone ~~ issue should be resolved
This comment is hidden because it contains spoiler information about the solution
Excellent Kata, thank you for putting this together.
when the lenght of array1 equal 0 function will return array2
and the lenght of array2 equal 0 function will return array1
Oh i got it, sorry everyone. It just the problem when the array is empty
I hope this is not spoiler, because i just can't figure it out why the output become this two
Expected: [6, 7], instead got: [NaN, NaN, NaN]
and
Expected: [], instead got: [NaN, NaN, NaN]
What is the tested number? i don't get the number question, so i can't solve it.
Is anyone can help?
thanks
How so?
console.log
works just fine, if you don't see anything print a string besides the arrays, maybe they're both empty?Well it appears I too am stuck here. There is no log for what arrays are actually entered so I have no way to test it specifically.
I read through the suggestion above, and it basically tells me where to identify and test, but in this case that information isn't here.
Approved.
Ruby translation kumited :) please review and approve ~~
approved by someone ~~
Hello -
I'm looking back at the problem now and I do not recall why I didn't get that test case then. It may have to do with the initialzation of my array.
Sorry I couldn't be more helpful!
Hello swizziedizzie!
May be you could share with me why it behaved like that in your case? Because I got the same issue but that link did not help me.
Thanks!
I'm not sure why this kata has such a low rating. The instructions are perfectly clear. No problem with tests. It's original, it's good. I used JS.
Loading more items...