16 lines
255 B
TypeScript
16 lines
255 B
TypeScript
//// [templateStringWithEmbeddedCommentsES6.ts]
|
|
`head${ // single line comment
|
|
10
|
|
}
|
|
middle${
|
|
/* Multi-
|
|
* line
|
|
* comment
|
|
*/
|
|
20
|
|
// closing comment
|
|
}
|
|
tail`;
|
|
|
|
//// [templateStringWithEmbeddedCommentsES6.js]
|
|
"head" + 10 + "\nmiddle" + 20 + "\ntail";
|