Having difficulty with a particular javascript problem. Is there a way to approach it in this manner?
// Given the input data, I aim to produce output as shown below
const ListValues = ["id", "name", "description"]
// Expected output
const initialValues = {
id: "",
name: "",
description: "",
};
Appreciate any assistance. Have a fantastic day <3