How to create string with multiple spaces in Node.js

1 Answer

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

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

 



answered Apr 26, 2022 by avibootz

Related questions

1 answer 248 views
1 answer 229 views
1 answer 203 views
1 answer 241 views
1 answer 217 views
1 answer 241 views
...