mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +03:00
28 lines
819 B
TypeScript
28 lines
819 B
TypeScript
// @target: es5
|
|
|
|
var t1 = 10;
|
|
var t2 = 10;
|
|
var s;
|
|
|
|
// TempateHead & TemplateTail are empty
|
|
`${t1 ** t2}`;
|
|
`${t1 ** t2 ** t1}`;
|
|
`${t1 + t2 ** t1}`;
|
|
`${t1 ** t2 + t1}`;
|
|
`${t1 + t2 ** t2 + t1 }`;
|
|
`${typeof (t1 ** t2 ** t1) }`;
|
|
`${1 + typeof (t1 ** t2 ** t1) }`;
|
|
|
|
`${t1 ** t2}${t1 ** t2}`;
|
|
`${t1 ** t2 ** t1}${t1 ** t2 ** t1}`;
|
|
`${t1 + t2 ** t1}${t1 + t2 ** t1}`;
|
|
`${t1 ** t2 + t1}${t1 ** t2 + t1}`;
|
|
`${t1 + t2 ** t2 + t1}${t1 + t2 ** t2 + t1}`;
|
|
`${typeof (t1 ** t2 ** t1)}${typeof (t1 ** t2 ** t1)}`;
|
|
|
|
`${t1 ** t2} hello world ${t1 ** t2}`;
|
|
`${t1 ** t2 ** t1} hello world ${t1 ** t2 ** t1}`;
|
|
`${t1 + t2 ** t1} hello world ${t1 + t2 ** t1}`;
|
|
`${t1 ** t2 + t1} hello world ${t1 ** t2 + t1}`;
|
|
`${t1 + t2 ** t2 + t1} hello world ${t1 + t2 ** t2 + t1}`;
|
|
`${typeof (t1 ** t2 ** t1) } hello world ${typeof (t1 ** t2 ** t1) }`; |