by locuscoeruleus · 2y ago · 0 comments
For my part, those names are often the same anyway, though, since the calling scope names are often arbitrary and might as well match the parameter names.
{name, age}
does the same in modern JS, assigning the variable to the key with the same name.