Answers for "fliter"

0

fliter

let customers = [  { id: 0, name: 'paul' },  { id: 1, name: 'jeff' },  { id: 2, name: 'mary' }];let customer = customers.find(cust => cust.name === 'jeff');console.log(customer);--> { id: 1, name: 'jeff' }
Posted by: Guest on July-24-2021

Browse Popular Code Answers by Language