You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original line looks like this: return (this.props.infoText ?? "") || _message.default.getFormatter("dxPager-infoText")()
And it gets minified to this: return this.props.infoText??""||l.default.getFormatter("dxPager-infoText")()
The above line of code is the only line in a certain function.
As you can see, the brackets around the "??" and its operands were removed. The MDN article claims that the precedence order between the operator "??" and the operators "||" and "&&" is deliberately undefined, so the removal of these brackets seems to be an error.
The text was updated successfully, but these errors were encountered:
Should be a simple fix, cant remember exactly where but in the analysers maybe it sees if operators need parenthesis or not, probably just need to switch a false for a true
Hello! I am getting this syntax error in the browser after minification with NUglify: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Cant_use_nullish_coalescing_unparenthesized
The original line looks like this:
return (this.props.infoText ?? "") || _message.default.getFormatter("dxPager-infoText")()
And it gets minified to this:
return this.props.infoText??""||l.default.getFormatter("dxPager-infoText")()
The above line of code is the only line in a certain function.
As you can see, the brackets around the "??" and its operands were removed. The MDN article claims that the precedence order between the operator "??" and the operators "||" and "&&" is deliberately undefined, so the removal of these brackets seems to be an error.
The text was updated successfully, but these errors were encountered: