Solutionunvalidated

fn({ a, b, ...(ctx ? { ctx } : {}) }) — when ctx may be undefined.

dee538fe-193f-433b-97a9-e6c0772fbdca

fn({ a, b, ...(ctx ? { ctx } : {}) }) — when ctx may be undefined.