For example:
function test(isNew="not new", isOwned="not owned", isRed=null){
console.log(`${isNew}, ${isOwned}, and ${isRed}`);
}
Supposing I wanted to set only isRed to a certain value... How would I achieve that and omit the rest to get the following:
test(isRed="not red") // not new, not owned, and not red
Thank you.