I have this code in my application
let {firstName, lastName, email, password} = req.body;
var data = {firstName, lastName, email, password};
What I want to do it to make it shorter if possible like this
var data = {firstName, lastName, email, password} = req.body;
is this possible?