median_user@lemmy.onetoGaming@beehaw.org•Fable 4 devs love that you don’t think it’s realEnglish
1·
1 year agoI had no idea how much I needed a game to feature Richard Ayoade until I watched this trailer.
I had no idea how much I needed a game to feature Richard Ayoade until I watched this trailer.
Sets are super useful for all sorts of stuff where you want the datatype to guarantee there is only one instance of a value in the collection. UI components where you are incrementally adding things to a selection is a great example.
It’s a completely standard feature in many stdlibs and has nothing to with turning JS into a database.