I'm struggling with the following javascript problem. Is there any way to do it like this?
// input, based on this data, I want the output to be like below
const ListValues = ["id", "name", "description"]
// output
const initialValues = {
id: "",
name: "",
description: "",
};
Thank you so much and Have a good day <3