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 182 views
1 answer 206 views
1 answer 198 views
198 views asked Jan 16, 2022 by avibootz
3 answers 263 views
263 views asked Jun 7, 2021 by avibootz
1 answer 198 views
198 views asked Jun 7, 2021 by avibootz
1 answer 132 views
...