Express Enigma
After setting the variables
const username = "a"
const password = "a"
I attempted to reassign them using
{username, password} = req.body
(This was within a form on /createaccount)
However, I encountered an error message stating "unexpected token '='". Could this be due to 'username' not being defined in app.get(/createaccount...)
???