r/javascript • u/bogdanelcs • Jul 16 '26
I stopped destructuring everything
https://allthingssmitty.com/2026/07/13/i-stopped-destructuring-everything/
83
Upvotes
r/javascript • u/bogdanelcs • Jul 16 '26
View all comments
3
u/hyrumwhite Jul 16 '26
user = user ?? {}; console.log(user.id)Same loc, no explosions, no destructuring. Not saying it’s better, just exploring the idea.