Ad
  • Custom User Avatar

    This comment has been deleted.

  • Custom User Avatar

    In javascript it's makeNegative, not makeNegitive

  • Custom User Avatar

    Not sure which programming language that is. But it looks like you misunderstood the challenge.

    The "Test" button runs the test-cases that you can edit yourself. You should make your own test-cases, as the initial test-case is very basic with just makeNegative(42);.

    If you read the Kata desctriction again, you might understand what the issue is. But what do you think your code would return if you run makeNegative(-42);? What should it return according to the Kata desctriction?

    Marked as resolved, as this is an issue with your code and not the kata itself. Please see the FAQ for details.

  • Custom User Avatar

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

  • Custom User Avatar

    Either your code causes that error or you changed the sample test and that caused that error, click reset and start over.

  • Custom User Avatar

    When compiling gives error "Unexpected } on line 9" when I don't even have a line 9.