Here is the array I am working with
{ Colors: 'Blues',
Department: 'Clearance',
Size: [ 'Runners', 'Custom Sizes' ],
Shape: 'Round',
Designer: 'B. Smit',
}
The desired output should be :
{ Colors: 'Blues',
Department: 'Clearance',
Size: 'Runners',
Shape: 'Round',
Designer: 'B. Smit',
}
{ Colors: 'Blues',
Department: 'Clearance',
Size: 'Custom Sizes',
Shape: 'Round',
Designer: 'B. Smit',
}
I have attempted the solution above but it is not giving me the expected result