When i use (parameters) => {//function code } in javascript it returns undefined although function abc() {} returns proper value

后端 未结 0 494
小鲜肉
小鲜肉 2020-12-18 16:09

The below code returns user details properly

const loginUser = asyncHandler(async (req, res, next) => {
  const { email, password } = req.body;
  const use         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题