array of object includes multiple 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);