help-js
Root Question Message
const { fullName } = clients.find((client) => client.clientId === customerId);
Sign In and Join Server To See
.find()
null
const { fullName } = clients.find((client) => client.clientId === customerId) ?? { fullName: '' };
??
||
const fullName = clients.find((client) => client.clientId === customerId)?.fullName;