I have an object that I need to transform it, using reduce, but cannot manage to do it... I have the following object:
const object = { set: { sub