Exponentiation operator#407
Conversation
|
@michaelficarra I will be happy if you will review it |
|
It would be great to include this PR in next release. |
|
I would like to see tests for forced grouping of unary operations on the LHS. For example, we shouldn't render |
|
But currently in |
|
@sanex3339 the |
|
Hmm. Will try to fix |
|
@michaelficarra I have no idea what i'm doing, but looks like now new test cases for LHS expression are passing |
a01fc97 to
35e7739
Compare
|
@sanex3339 I pushed up another commit. Please review. |
|
@michaelficarra Looks good, thank you! |
|
@sanex3339 Published version edit: Pushed a |
* Fixed exponentiation operator precedence * Fixed and added test cases for LHS expression of exponentiation operator * fix exponentiation PR Co-authored-by: Michael Ficarra <github@michael.ficarra.me>
Fixed exponentiation operator precedence, like described here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence
Fixed #406
Fixed javascript-obfuscator/javascript-obfuscator#534