mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
33 lines
368 B
TypeScript
33 lines
368 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; |