mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
355 B
TypeScript
15 lines
355 B
TypeScript
//// [tests/cases/conformance/es6/templates/templateStringInFunctionExpressionES6.ts] ////
|
|
|
|
//// [templateStringInFunctionExpressionES6.ts]
|
|
var x = function y() {
|
|
`abc${ 0 }def`
|
|
return `abc${ 0 }def`;
|
|
};
|
|
|
|
//// [templateStringInFunctionExpressionES6.js]
|
|
"use strict";
|
|
var x = function y() {
|
|
`abc${0}def`;
|
|
return `abc${0}def`;
|
|
};
|