javascript set object property to array having multiple elements 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);