mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +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;
|