get multiple array elements by certain property 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);