Contact: aviboots(AT)netvision.net.il
40,769 questions
53,151 answers
573 users
const set1 = new Set(['typescript', 'javascript', 'node.js']); const set2 = new Set(['c', 'c++', 'python']); const arr = [...set1, ...set2]; console.log(arr); /* run: [ 'typescript', 'javascript', 'node.js', 'c', 'c++', 'python' ] */