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.
yes
Yes.
yes they are of same size.
You're trying to read the length of null as the error says.
Not a kata issue. Your solution fails some valid test cases, for example this one:
assert.equal(wordPattern("heLlo"), "0.1.2.2.3");
. I don't think your solution is working in other environment, I think you did not test it sufficiently.Sonds like a problem on your end - read this. If this were to be a kata issue (i.e the kata is broken) you would need to show how the kata is broken not how your code is broken
The same index is the same item.
null
has no length, read maynardz's post below, it's been already asked and answered.