JSFiddle - React, Tailwind, and code Playground
by irinablue
JavaScript
const matchedSelectors = new Set();
const res = [...matchedSelectors];
const str = res.join(',');
const test = str.split(',', 1)[0];
console.log(res[0])
console.log(str)
console.log(test)