JSFiddle - React, Tailwind, and code Playground

JavaScript

var arr = [1,2,3,4,5,6,456,3,76,344];


unique(arr);