mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
33 lines
371 B
TypeScript
33 lines
371 B
TypeScript
// @target: es5
|
|
|
|
1 ** -2;
|
|
1 ** 2;
|
|
(-1) ** 2
|
|
1 ** 2 ** 3;
|
|
1 ** 2 ** -3;
|
|
1 ** -(2 ** 3);
|
|
(-(1 ** 2)) ** 3;
|
|
(-(1 ** 2)) ** -3;
|
|
|
|
1 ** 2 + 3;
|
|
1 ** 2 - 3;
|
|
1 ** 2 * 3;
|
|
1 ** 2 / 3;
|
|
1 ** 2 % 3;
|
|
|
|
1 ** -2 + 3;
|
|
1 ** -2 - 3;
|
|
1 ** -2 * 3;
|
|
1 ** -2 / 3;
|
|
1 ** -2 % 3;
|
|
|
|
2 + 3 ** 3;
|
|
2 - 3 ** 3;
|
|
2 * 3 ** 3;
|
|
2 / 3 ** 3;
|
|
2 % 3 ** 3;
|
|
|
|
(2 + 3) ** 4;
|
|
(2 - 3) ** 4;
|
|
(2 * 3) ** 4;
|
|
(2 / 3) ** 4; |