I have a string like "car;bus;airplane;bike"
what is the fastest way to convert it into a set in JavaScript JSX?
Is there something like:
"car;bus;airplane;bike".split(';').toSet()?
So the set will have 'car', 'bus', 'airplane', 'bike' as elements