Ad
  • Custom User Avatar

    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 here

  • Custom User Avatar

    Getting

    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.

  • Custom User Avatar

    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!

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Awesome, I had my suspicions of that. Thank you!

  • Custom User Avatar

    I changed the tests to use Minitest. When I hit reset, the tests don't reset to the original. What can I do?

  • Custom User Avatar

    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?