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.
can anyone explain why am i getting an error on line if not found: saying it has no value?
i tried using a return statement in all 3 areas possible above the if not found: still same error.
So I'm trying to use the inputs to grab the index from one of the lists, then use the index to grab the string from the other list. I think it's failing to look for the input in list 1 which is why I'm not getting any indexes. I wrote:
then later:
Does anyone know what I might be doing wrong?
JS version: