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.
That's an edge case and your first assumption is wrong. You're also missing some other part of the instructions, this one:
Think about what that means.
What would you return for this input?
a = [4] b = [2, 2, 2]
Sorry I'm being a little vague, but I'm giving you hints so you can solve the kata yourself.
You're confused by this:
What should the expected value be if both are empty? Use
console.log
to print the input values.