mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
278 B
TypeScript
12 lines
278 B
TypeScript
//// [tests/cases/conformance/es6/templates/templateStringInPropertyName2.ts] ////
|
|
|
|
//// [templateStringInPropertyName2.ts]
|
|
var x = {
|
|
`abc${ 123 }def${ 456 }ghi`: 321
|
|
}
|
|
|
|
//// [templateStringInPropertyName2.js]
|
|
"use strict";
|
|
var x = {} `abc${123}def${456}ghi`;
|
|
321;
|