You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing object destructuring with new variable names, we're determining the name of the variable incorrectly, and selecting the name of the property from the object being destructured instead.
E.g:
const{foo: bar}={foo: 'foo',bar: 'bar'}// foo is undefined// bar is now a constant variable