JSFiddle - React, Tailwind, and code Playground by Msk_Satheesh December 31, 2018 JavaScript let a = [1,2,2,2,4,4,4,55,55,6]; console.log([...new Set(a)]);