mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +03:00
41 lines
671 B
TypeScript
41 lines
671 B
TypeScript
// @target:es5
|
|
|
|
var temp = 10;
|
|
|
|
(-++temp) ** 3;
|
|
(+--temp) ** 3;
|
|
(-temp++) ** 3;
|
|
(+temp--) ** 3;
|
|
(-(1 ** ++temp)) ** 3;
|
|
(-(1 ** --temp)) ** 3;
|
|
(-(1 ** temp++)) ** 3;
|
|
(-(1 ** temp--)) ** 3;
|
|
|
|
(-3) ** temp++;
|
|
(-3) ** temp--;
|
|
(-3) ** ++temp;
|
|
(-3) ** --temp;
|
|
(+3) ** temp++;
|
|
(+3) ** temp--;
|
|
(+3) ** ++temp;
|
|
(+3) ** --temp;
|
|
(-3) ** temp++ ** 2;
|
|
(-3) ** temp-- ** 2;
|
|
(-3) ** ++temp ** 2;
|
|
(-3) ** --temp ** 2;
|
|
(+3) ** temp++ ** 2;
|
|
(+3) ** temp-- ** 2;
|
|
(+3) ** ++temp ** 2;
|
|
(+3) ** --temp ** 2;
|
|
|
|
3 ** -temp++;
|
|
3 ** -temp--;
|
|
3 ** -++temp;
|
|
3 ** +--temp;
|
|
3 ** (-temp++) ** 2;
|
|
3 ** (-temp--) ** 2;
|
|
3 ** (+temp++) ** 2;
|
|
3 ** (+temp--) ** 2;
|
|
3 ** (-++temp) ** 2;
|
|
3 ** (+--temp) ** 2;
|