Filter array of objects by multiple properties and values 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);