Answers for "two dimensional array object in javascript"

0

two dimensional array object in javascript

const IDs = Object.entries(formData?.Recipient).map(([k, v]) => v.map(item => item?.UserID));

this.setState({

  selectedUser : IDs.flat()
})
console.log(IDs.flat())
Posted by: Guest on April-23-2021

Code answers related to "two dimensional array object in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language