Por ejemplo:
function test(isNew="not new", isOwned="not owned", isRed=null){ console.log(`${isNew}, ${isOwned}, and ${isRed}`); }
Supongamos que quisiera establecer solo isRed en un cierto valor... ¿Cómo lograría eso y omitiría el resto para obtener lo siguiente?
test(isRed="not red") // not new, not owned, and not red
Gracias.