New ECMAScript proposal to add Object.fromEntries, complementing Object.entries: https://github.com/bakkot/object-from-entries …
Object.fromEntries(Object.entries(object)) ≈ object
It’s similar to _.fromPairs in Lodash.pic.twitter.com/Yt8kmfwd05
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
I always love a good pun
The proposal doesn't really hurt anything so I'm not necessarily against it. I do wonder where we draw the line with trivial bits like this. Heck, I managed to implement the behavior in a one line of a tweet!
Usually we're more inclined when it feels like there's a "hole". Here the lack of an inverse for Object.entries felt like a hole, even if you can of course get around it with reduce (modulo differences in define vs set, array vs iterable). Reduce is an awfully big hammer, though.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.