Ad
  • Default User Avatar
  • Default User Avatar

    over 10k have solved it in js

  • Custom User Avatar

    Your solution is wrong, not a kata issue. Debug your code. See the sample tests, you fail one or the other that's what confuses you.

        assert.strictEqual(removeParentheses("example(unwanted thing)example"), "exampleexample") // no space
        assert.strictEqual(removeParentheses("example (unwanted thing) example"), "example  example") // two spaces
    
  • Custom User Avatar

    I don't think anyone understands your problem. Can you please give some examples? No one can read your mind or even see your code to see what is wrong...

  • Custom User Avatar

    nope, but that avoids the hassle of maintaining the related property when changes are done to one of the others.

    note: the explanation is written just below... ;p