Hello!
I got an interesting error when trying to compress the following js code snippet:
opt.t = opt.tstart * (1 - i++/(times -1));
Exception:
UnterminatedRegExpException
JSMin: Unterminated RegExp at byte 406780: /(times -1));
I tried to fix it by splitting the calculations into smaller variables to avoid parentheses but it didn't help.
It always looked like a regular expression for the division sign.
Hello!
I got an interesting error when trying to compress the following js code snippet:
Exception:
UnterminatedRegExpException
JSMin: Unterminated RegExp at byte 406780: /(times -1));
I tried to fix it by splitting the calculations into smaller variables to avoid parentheses but it didn't help.
It always looked like a regular expression for the division sign.