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.
Getting
TypeError: Cannot read property 'length' of undefined
at validate
at Object.handleError
at ContextifyScript.Script.runInThisContext
at Object.runInThisContext
where the .length is called on
n
which is the string taken by function. Works on my local, but seems broken hereGetting
TypeError: Cannot read property 'length' of undefined
at validate
at Object.handleError
at ContextifyScript.Script.runInThisContext
at Object.runInThisContext
When length is called on n, which is the string being taken in. The code works on my local, but seems broken here.
What is the point of these tests:
Expected: "More Than One Space Between Words", instead got: "More Than One Space Between Words"
Expected: " Leading Spaces", instead got: "Leading Spaces"
Expected: "Trailing Spaces ", instead got: "Trailing Spaces"
Especially when they aren't specified in the description nor shown in the initial test cases. You only see them when submitting answers. Why would the cases for leading and trailing spaces even require those spaces. The first is just silly; why would anyone put more than one space between words (unless a typo)?
Just some feedback and a need for clarification. Thanks!
This comment is hidden because it contains spoiler information about the solution
Awesome, I had my suspicions of that. Thank you!
I changed the tests to use Minitest. When I hit reset, the tests don't reset to the original. What can I do?
The tests say my code passes, yet I get this error when I try to Submit:
Process was terminated. It took longer than 6000ms to complete
What is this, and how can I get past this damn Kata?