JSFiddle - React, Tailwind, and code Playground

by Kai Wang

JavaScript

var a = [1,2,2,3];
var b = new Set(a);
var c = [...b];
console.log(a,b,c)