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.
stringer
)C Translation (user somewhat inactive).
You should not post
methods / code / solutions
without using the spoiler flag, or else anyone can see it. I have added the flag to your comment.but it's a palindrome...
When you observe the error feedback it tells you that your function returns
NaN
, so you should start debugging with console to see what is what and why that happens in the first place.Specifically, look at what
lastIndex
amounts to, and what results from that.Good luck!
First of all, please do not post as an
issue
when you do not know why your code does not pass. That's reserved for when there's a problem with the kata code and you can give examples as to why. Instead, post as aquestion
.how does the tester expected them to be spelled?
that would be a world better than expecting to one day have literally
dozens
of near duplicate kataFork
No Random Tests
no random tests
Fork
Even if the two entities of
dictionary
andalphabet
are arbitrarily defined as follows:The error feedback states:
...although the expected functions temselves are strictly returning
number
andstring
values respectively, as such:Nowhere in the description does it tell the user to define these.
return, not print
Loading more items...