I thought that I would be able to use the follow syntax but it doesn't work as expected ('renamed' not defined):
const test= ({ var1, var2, renamed = var3 }) => { ...
I see that I can just do the following, but I wondered if there is a more concise way to do it from within the parenthesis. Many thanks.
const test= ({ var1, var2, var3 }) => { ...
const renamed = var3; ...