rem’s Twitter Archive
—№ 69,086
⇤ Newest
Tweet
⇠ Newer
Tweet
Older
Tweet
⇢
I'm being lazy, but I kinda wish this was a thing in JavaScript: const prop = delete { a: 99 }; prop //? 99
On twitter.com
❤️ 6
Favorites
2019 Jan 17
Mood
0
…in reply to @rem
Okay, this might be weird, but it _could_ work like this: ({ prop, ...data } = data); prop // ? 99 Kinda nasty though…
Permalink
On twitter.com
❤️ 1
Favorite
2019 Jan 17
Mood
-3
🙁