Ad
  • Custom User Avatar

    SolutionTest
    randomTests
    Log
    JgAF
    UHDWb
    l
    Jm
    y
    w
    ecUPZc
    expected:<ecUPZ[y IBOscgUZKji]c> but was:<ecUPZ[]c>
    Stack Trace
    Completed in 23ms
    fixedTests
    Log
    exampleexample
    exampleexample
    example example
    a e
    a
    hello example something

    Test Passed

    WTF?(((

  • Custom User Avatar

    You should add console.log(s) at the beginning of your function to see the whole input.

    And that's not your only problem but the * quantifier is greedy...

    Closing the issue since it's a problem with your code, not a problem with the kata itself.

  • Custom User Avatar

    i wonder where to find a parentheses in here: 'hello example here something' should equal
    and i don't understand why the output is like this: 'hello example something'
    it looks for me that the function is only deleting -here - in the string, that does not make any sence to me, since the description is talking about remove parentheses and the content inside them....