Contact: aviboots(AT)netvision.net.il
41,243 questions
53,750 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' ] */