JSFiddle - React, Tailwind, and code Playground

by Rajesh Dixit

JavaScript

var arr1 = [55, 44, 65];
var arr2 = [22, 11, 33]
var set = new Set(arr1.concat(arr2));
console.log(set);

var set2 = new Set(Array.from(set).concat([8, 5]))
console.log(set2);