Contact: aviboots(AT)netvision.net.il
43,956 questions
57,384 answers
573 users
const str = "node.js"; let arr = str.split(''); console.log(arr); /* run: [ 'n', 'o', 'd', 'e', '.', 'j', 's' ] */
const str = "node.js"; let arr = [...str]; console.log(arr); /* run: [ 'n', 'o', 'd', 'e', '.', 'j', 's' ] */