Closed mazznoer closed 5 years ago
let colors = [ { color: 'black', weight: 89, }, { color: 'white', weight: 121, }, { color: 'cyan', weight: 9, }, { color: 'pink', weight: 75, }, { color: 'red', weight: 13, }, ];
How to get the average of all the colors using weight?
How to get the average of all the colors using weight?