9 lines
502 B
Plaintext
9 lines
502 B
Plaintext
=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedFunctionExpression.ts ===
|
|
var x = `abc${ function y() { return y; } }def`;
|
|
>x : string, Symbol(x, Decl(templateStringWithEmbeddedFunctionExpression.ts, 0, 3))
|
|
>`abc${ function y() { return y; } }def` : string
|
|
>function y() { return y; } : () => any
|
|
>y : () => any, Symbol(y, Decl(templateStringWithEmbeddedFunctionExpression.ts, 0, 14))
|
|
>y : () => any, Symbol(y, Decl(templateStringWithEmbeddedFunctionExpression.ts, 0, 14))
|
|
|