JSFiddle - React, Tailwind, and code Playground

by Raul Bojalil

JavaScript

var a = ["a", "b", "c"];
var b = ["c", "d", "e"];

console.log([...new Set([...a, ...b])])