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.
The first test case is ''. THis thing caused you undefined. Get rid of this and you're ready to goww!
If your language is Javascript, then type-console.log(integers) at the very beginning of your function; as the fist line of your code or just print the value at the beginning to see which arrays are being passed into your function.
thanks! checking types really helps
Thanks,i figured it out a minute ago though!
You can immediately print the input as the first line of your code.
How can i print the input in Javascript? console.log(comp([...],[....]))- do you mean this sensei?
Happy Coding