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 151 views
1 answer 136 views
1 answer 119 views
1 answer 132 views
1 answer 131 views
1 answer 132 views
...