How to create multiline string in TypeScript

1 Answer

0 votes
let s = `TypeScript is a programming 
language developed and 
maintained by Microsoft
`
console.log(s); 
 
 
  
  
  
/*
run:
  
"TypeScript is a programming 
language developed and 
maintained by Microsoft
" 
  
*/

 



answered Jan 22, 2022 by avibootz

Related questions

2 answers 303 views
1 answer 312 views
1 answer 277 views
277 views asked Jan 16, 2022 by avibootz
3 answers 390 views
390 views asked Jun 7, 2021 by avibootz
1 answer 294 views
294 views asked Jun 7, 2021 by avibootz
1 answer 210 views
...