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