Contact: aviboots(AT)netvision.net.il
39,990 questions
51,935 answers
573 users
const arr1 = ['node.js', 'c++', 'c']; const arr2 = ['node.js', 'c', 'c#', 'python']; const union = Array.from(new Set([...arr1, ...arr2])); console.log(union); /* run: [ 'node.js', 'c++', 'c', 'c#', 'python' ] */