JSFiddle - React, Tailwind, and code Playground

JavaScript

var set = new Set(["a", "a","e", "b", "c", "b", "b", "b", "d"]);

console.log(set[0]);