Ad
  • Custom User Avatar

    Thank you for your answer! This was really helpful! Trying to debug now.

    UPD. Just in case. It worked. All the tests passed. Thanks a lot!

  • Custom User Avatar

    Hi! I'm trying to solve this kata using JavaScript. I've passed Example Tests and Random Tests. But I cannot pass More Tests. It returns the right value, but I get the following error:

    "SyntaxError: Invalid left-hand side expression in postfix operation
    at solveExpression (test.js:35:52)
    at Context. (test.js:81:56)
    at process.processImmediate (node:internal/timers:471:21)"

    Locally it works pretty well with the same inputs. Returns the right value and doesn't log any errors. I'm a newby, and I'd appreciate any advice.