5 lines
219 B
TypeScript
5 lines
219 B
TypeScript
//// [templateStringInConditional.ts]
|
|
var x = `abc${ " " }def` ? `abc${ " " }def` : `abc${ " " }def`;
|
|
|
|
//// [templateStringInConditional.js]
|
|
var x = "abc" + " " + "def" ? "abc" + " " + "def" : "abc" + " " + "def";
|