How to create string with multiple spaces in JavaScript

1 Answer

0 votes
let str = `javascript            typescript    c php`;

console.log(str); 
     
     
    
    
/*
run:
    
"javascript            typescript    c php"
    
*/

 



answered Apr 26, 2022 by avibootz
...