how can i improve this code?
const { first, second, three, ...list } = minerals let newMinerals if (currentUnit === \'rd\') { newMinerals = {