8 lines
185 B
JavaScript
8 lines
185 B
JavaScript
//// [templateStringInPropertyNameES6_2.ts]
|
|
var x = {
|
|
`abc${ 123 }def${ 456 }ghi`: 321
|
|
}
|
|
|
|
//// [templateStringInPropertyNameES6_2.js]
|
|
var x = {} `abc${123}def${456}ghi`;
|
|
321;
|