JShrink
JShrink copied to clipboard
Fails to recognize regex literals following keyword
In both cases JShrink treats these as division followed by unterminated string:
return /'/;
typeof /'/;
FYI my big evil set of regexes https://github.com/mrclay/minify/blob/master/min_unit_tests/_test_files/js/regexes.js