mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
12 lines
178 B
TypeScript
12 lines
178 B
TypeScript
|
var a: any;
|
||
|
var b: number;
|
||
|
|
||
|
// operator **
|
||
|
var r1 = a ** a;
|
||
|
var r2 = a ** b;
|
||
|
var r3 = a ** 0;
|
||
|
var r4 = 0 ** a;
|
||
|
var r5 = 0 ** 0;
|
||
|
var r6 = b ** 0;
|
||
|
var r7 = 0 ** b;
|
||
|
var r8 = b ** b;
|