mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
41 lines
1.5 KiB
Plaintext
41 lines
1.5 KiB
Plaintext
//// [tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithTemplateStringInvalidES6.ts] ////
|
|
|
|
=== exponentiationOperatorWithTemplateStringInvalidES6.ts ===
|
|
var a = 1 ** `${ 3 }`;
|
|
>a : Symbol(a, Decl(exponentiationOperatorWithTemplateStringInvalidES6.ts, 0, 3))
|
|
|
|
var b = 1 ** `2${ 3 }`;
|
|
>b : Symbol(b, Decl(exponentiationOperatorWithTemplateStringInvalidES6.ts, 1, 3))
|
|
|
|
var c = 1 ** `${ 3 }4`;
|
|
>c : Symbol(c, Decl(exponentiationOperatorWithTemplateStringInvalidES6.ts, 2, 3))
|
|
|
|
var d = 1 ** `2${ 3 }4`;
|
|
>d : Symbol(d, Decl(exponentiationOperatorWithTemplateStringInvalidES6.ts, 3, 3))
|
|
|
|
var e = `${ 3 }` ** 5;
|
|
>e : Symbol(e, Decl(exponentiationOperatorWithTemplateStringInvalidES6.ts, 4, 3))
|
|
|
|
var f = `2${ 3 }` ** 5;
|
|
>f : Symbol(f, Decl(exponentiationOperatorWithTemplateStringInvalidES6.ts, 5, 3))
|
|
|
|
var g = `${ 3 }4` ** 5;
|
|
>g : Symbol(g, Decl(exponentiationOperatorWithTemplateStringInvalidES6.ts, 6, 3))
|
|
|
|
var h = `2${ 3 }4` ** 5;
|
|
>h : Symbol(h, Decl(exponentiationOperatorWithTemplateStringInvalidES6.ts, 7, 3))
|
|
|
|
var k = 10;
|
|
>k : Symbol(k, Decl(exponentiationOperatorWithTemplateStringInvalidES6.ts, 9, 3))
|
|
|
|
k **= `${ 3 }`;
|
|
>k : Symbol(k, Decl(exponentiationOperatorWithTemplateStringInvalidES6.ts, 9, 3))
|
|
|
|
k **= `2${ 3 }`;
|
|
>k : Symbol(k, Decl(exponentiationOperatorWithTemplateStringInvalidES6.ts, 9, 3))
|
|
|
|
k **= `2${ 3 }4`;
|
|
>k : Symbol(k, Decl(exponentiationOperatorWithTemplateStringInvalidES6.ts, 9, 3))
|
|
|
|
kj **= `2${ 3 }4`;
|