find an object from multiple array javascript by id code example
Example: javascript find object in array by multiple property values
let serverProposal = lobby.proposals.find( (p) => p.author == userID && p.isSubmitted == false);
let serverProposal = lobby.proposals.find( (p) => p.author == userID && p.isSubmitted == false);