9 lines
168 B
TypeScript
9 lines
168 B
TypeScript
//// [templateStringInWhile.ts]
|
|
while (`abc${0}abc`) {
|
|
`def${1}def`;
|
|
}
|
|
|
|
//// [templateStringInWhile.js]
|
|
while ("abc" + 0 + "abc") {
|
|
"def" + 1 + "def";
|
|
}
|