i didnt understand what did we do .then in route.get when bhaiya wrote ((persons)=>res.send(persons))…can you please explain which persons is this and what is happening here?
Doubt in webinar 13 api.js route.get
.then accepts a function. In this case (persons) => res.send(persons)
is an arrow function.