mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +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; |