How to convert char array to string in Node.js

1 Answer

0 votes
const array = ["n", "o", "d", "e", ".", "j", "s"]

const str = array.join("");

console.log(str);




/*
run:

node.js

*/

 



answered Aug 22, 2023 by avibootz

Related questions

1 answer 203 views
1 answer 248 views
2 answers 269 views
1 answer 199 views
1 answer 185 views
...