📅  最后修改于: 2022-03-11 14:48:30.841000             🧑  作者: Mango
const findUser = async function (params) {
try { return await User.findOne(params)
} catch(err) { console.log(err) }
}
const userSteve = findUser({firstName: Steve})