JSFiddle - React, Tailwind, and code Playground

JavaScript

console.log(jQuery.unique([10, 20, 20, 30, 30, 10]));