We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In router.js, you are currently pulling properties off an object and saving them into variables like this:
router.js
let userEmail = body.email; let password = body.password;
You can use ES6 destructing to make this neater and easier to read:
let { userEmail, password } = body;
It's a small change, but it reduces unnecessary repetition. Especially if you can use it in a number of places.
The text was updated successfully, but these errors were encountered:
I'm liking your notes more with each issue :D
Sorry, something went wrong.
No branches or pull requests
In
router.js
, you are currently pulling properties off an object and saving them into variables like this:You can use ES6 destructing to make this neater and easier to read:
It's a small change, but it reduces unnecessary repetition. Especially if you can use it in a number of places.
The text was updated successfully, but these errors were encountered: