function abc(req, res, next) {
  let imageName = req.body.name;
   const obj = {
    imageName: {
      status: true,
      url: "abc"
    }
 }
In above function I have a varaible declared 'imageName'. I just need to use result that is got at 'imageName' variable at 'obj'. suppose I get 'alpha' from req.body.name then I want to use that in 'obj' like obj = {aplha: {status: true, url: "abc"} }.
 
     
     
     
     
    