Been using a lot of ES2015 Sets and struggling to decide when to use an array or a collection.
order matters in sets, i find myself relying on the unique ordering
-
-
how can you abstract order from a set? Surely it's just has / hasn't for any given item?
-
it's sorted by insertion order, you can extract the values with .entries() and [Symbol.iterator[
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 