re: Rename Variable While Destructuring In Javascript VIEW POST

FULL DISCUSSION
 

Not much related, but sometimes I wish there is something like TypeScript import renaming in the Javascript which would allow this;

const { name1 as name2 } = someObject;
code of conduct - report abuse