Not sure why destructuring and then assignment needs some goofy fancy name... Though it's a great example of wasteful destructuring, variables for nothing, what junk "template" strings are, and why one is often better off just leaving data in the form instead of screwing around making copies into variables -- again for nothing.

I mean, we know it's junk code when we see direct assignment of events instead of addEventListener, and the use of innerHTML on user input data. (Though honestly, most of the time using innerHTML whatsoever is total garbage code)

Written by

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store